adding an init.d script:
- look at
/etc/init.d/skeleton
for the script template - after creating your own,
chmod a+x myscript
sudo mv myscript /etc/init.d
- update-rc.d myscript.....tba...
OR
...tba...
bootup logs can be found at the following locations:
/var/log/upstart/myservice.log
/var/log/boot.log
/var/log/syslog
for future ref...
- https://help.ubuntu.com/community/UbuntuBootupHowto#Writing_Services
- http://manpages.ubuntu.com/manpages/natty/en/man5/init.5.html
- http://manpages.ubuntu.com/manpages/hardy/man8/update-rc.d.8.html
- http://upstart.ubuntu.com/getting-started.html
- http://www.jamescoyle.net/cheat-sheets/791-update-rc-d-cheat-sheet
- http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html