www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre5/doc/ancient/init-idea-first
Nico Schottelius 423ba10303 import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-16 12:53:45 +02:00

38 lines
696 B
Text

- restarting/respawning
touch respawn
- dependencies
a needs started b
- clean multiply dependencies
- start & stop dependencies
start_depends
stop_depends
- parallel executation
- start and stop commands
start -> link
start_param -> parameters, like minit
stop -> link
stop_param -> parameters, like minit
if no stop command is available, try to kill the pid we started at stop
/startup/
start_depends=gettys
/shutdown/
stop_depends=power_off
gettys/
start_depends=getty/1
start_depends=getty/2
start_depends=getty/3
start_depends=getty/4 ...
getty/1/
start=/sbin/fgetty
respawn
power_off/
stop_depend=umount
umount/
stop_depend=