Skip to content

Instantly share code, notes, and snippets.

@yannbertrand
Created February 18, 2016 09:13
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 yannbertrand/a3c2365b7dc4736f2c6d to your computer and use it in GitHub Desktop.
Save yannbertrand/a3c2365b7dc4736f2c6d to your computer and use it in GitHub Desktop.
# Setup a service in /etc/init.d
https://www.debian-administration.org/article/28/Making_scripts_run_at_boot_time_with_Debian
# Don't forget the LSB tags
http://help.directadmin.com/item.php?id=379
# Example on a script called blah:
$ update-rc.d blah defaults
$ update-rc.d blah remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment