Last active
August 29, 2015 14:23
-
-
Save willm/c592b22a5ac4a65914a2 to your computer and use it in GitHub Desktop.
run a script on startup ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#put this in /etc/init/service.conf, for more info, see http://upstart.ubuntu.com/ | |
start on startup | |
task | |
setuid username # will be root if this is not specified | |
exec /path/to/command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment