PiLEDlights/initscripts
2017-09-17 10:55:15 +02:00
..
systemd Create netledPi.service 2016-10-05 21:07:06 +02:00
sysVinit Create netledPi sysV init script 2016-10-05 21:16:19 +02:00
README Update README 2017-09-17 10:55:15 +02:00

Init scripts - to make the programs start automatically at boot.  

If you are running a current Raspbian (Jessie or later) with systemd:  
Copy the systemd/*.service files to the /etc/systemd/system/ directory, and then run  
sudo systemctl daemon-reload  
sudo systemctl enable hddledPi.service  
sudo systemctl enable netledPi.service  

If you are running an older Raspbian (Wheezy) with SysV init:  
Copy the sysVinit/* files to the /etc/init.d/ directory, and then run  
sudo update-rc.d enable hddledPi  
sudo update-rc.d enable netledPi  


Creating init scripts for actledPi is left as an exercise for the reader ;-)