www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre16/doc/ancient/init-idea-first
Nico Schottelius 0c13ed6979 add cinit-0.3pre16
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-29 21:36:27 +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=