upstart config files
Does anyone have any example config files they can send me, especially ones that chain events. I can't seem to find much in the way of documentation regarding these event files.
If I understand correctly, the main entrypoint to upstart is /etc/event.d/. I've created a console login that does appear to work, but for some reason isn't respawning on exit. Here's my current code:
ttyS0:
start on startup
stop on runlevel 0
stop on runlevel 1
stop on runlevel 6
exec /sbin/getty -L ttyS0 115200 vt100
respawn
I'd like to have this enabled after a few system things happen, though. eg. If I create a "system_init" file that mounts file systems, can ttyS0 then say "start on stopped system_init". Or does my "system_init" need to emit an event?
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- upstart Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Danny Sung for more information if necessary.