Skip to content

Instantly share code, notes, and snippets.

@jmsaavedra
Last active November 6, 2015 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmsaavedra/14be616dd865adc2485e to your computer and use it in GitHub Desktop.
Save jmsaavedra/14be616dd865adc2485e to your computer and use it in GitHub Desktop.
startup script resources for ubuntu

adding an init.d script:

  1. look at /etc/init.d/skeleton for the script template
  2. after creating your own, chmod a+x myscript
  3. sudo mv myscript /etc/init.d
  4. 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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment