Skip to content

Instantly share code, notes, and snippets.

@mmcdaris
Created February 24, 2014 02:21
Show Gist options
  • Save mmcdaris/9180872 to your computer and use it in GitHub Desktop.
Save mmcdaris/9180872 to your computer and use it in GitHub Desktop.
This is what the runlevel codes mean, commonly used in upstart stanzas `start on` and `stop on`.
integer meanings:
runlevels:
0 : System halt.
1 : Single-User mode.
2 : Graphical multi-user plus networking (DEFAULT)
3 : Same as "2", but not used.
4 : Same as "2", but not used.
5 : Same as "2", but not used.
6 : System reboot.
pseudo-runlevels:
N : The previous runlevel cannot be determined.
S : Alias for Single-User mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment