start on runlevel [2345]
referring this:
The syntax of start on stanza is:
start on EVENT [[KEY=]VALUE]... [and|or...]
It means, runlevel
is en event, [2345]
is that event's environment variables' value.
My question is
- when will
runlevel
event be emitted? - Where can I dig more information about
runlevel
event?
From the Upstart cookbook (steps 9-11):
So, the
runlevel
is emitted once the filesystems are mounted and the loopback device is up.To dig up more information, read the Upstart cookbook (completely, not bits and pieces).