www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre13/doc/man/cservice
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

37 lines
1.3 KiB
Text

WARNING:
cservice is not yet ready for cinit-0.3!
--------------------------------------------------------------------------------
cservice,
Nico Schottelius, 2005-06-10 (Last Modified: 2005-06-22)
--------------------------------------------------------------------------------
cservice - control cinit
cservice -[phearsu] <service>
-e - (ein) start a service (including all needed dependencies)
-a - (aus) stop a respawing service, don't care about other services
-r - reboot
-h - halt
-p - poweroff (on some systems the same as halt)
-s - reScue mode - only a shell
-u - update: hot reboot - shutdown system and execute /sbin/cinit
A service may be specified either as relative or as absolute path.
-h, -p, -r, -s and -u need the "Magic Word" to do their work: "thilo"
--------------------------------------------------------------------------------
Some examples:
cservice -e /etc/cinit/getty/8 # fire up getty/8
cd /etc/cinit/getty; cservice -a ./8 # shut down getty/8
cservice -h thilo # halt
cservice -r thilo # reboot
cservice -s thilo # rescue
cservice -u thilo # update
--------------------------------------------------------------------------------