Skip to content

Instantly share code, notes, and snippets.

@clifferson
Last active August 29, 2015 14:01
Show Gist options
  • Save clifferson/732f34839bc0ea434f49 to your computer and use it in GitHub Desktop.
Save clifferson/732f34839bc0ea434f49 to your computer and use it in GitHub Desktop.
Notes on Upstart

Job config file

lives in /etc/init/service.conf

Start/stop an Upstart controlled service

  • "start servicename"
  • "stop servicename"

Reload upstart when adding a new config

  • "initctl reload-configuration"

See service status

  • "initctl status servicename"

Learn more

man 5 init (http://manpages.ubuntu.com/init.5)
man 8 init (http://manpages.ubuntu.com/init.8)
man 7 upstart-events (http://manpages.ubuntu.com/upstart-events.7) (for a better formatted version, see: http://upstart.ubuntu.com/cookbook/#ubuntu-well-known-events-ubuntu-specific)

However, for a gentler and less terse introduction, please see the Upstart Cookbook:
http://upstart.ubuntu.com/cookbook/
http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf

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