Originally posted by abcd567
View Post
/etc/systemd/system on Raspian/Jessie.. has .system files for scripts to run on start.
systemctl list-unit-files | grep enabled
Interesting to note the defaults which don't help advanced stuff I couldn't work out why I was ending up with a USB claim issue each time I rebooted after attempting to stop auto-starting of most apps and wanted to start a particular app that accessed SDR. Keeps flogging it each time.
Code:
[Service] Type=simple [B]Restart=always[/B] LimitCORE=infinity ExecStartPre=-/usr/lib/fr24/install_dump1090.sh ExecStartPre=-/usr/lib/fr24/unregister_kernel_modules.sh ExecStartPre=-/usr/lib/fr24/create_missing_directories.sh ExecStart=/usr/bin/fr24feed
Leave a comment: