minit, a Minimal init system.

This commit is contained in:
Glenn L McGrath
2003-05-11 14:52:39 +00:00
parent 8c6887c855
commit 1e11c34be4
7 changed files with 1051 additions and 0 deletions

View File

@ -1430,6 +1430,11 @@
"\ty\tAllow write access to your terminal.\n" \
"\tn\tDisallow write access to your terminal.\n"
#define minit_trivial_usage \
"[-spPrRC]"
#define minit_full_usage \
"[-spPrRC]"
#define mkdir_trivial_usage \
"[OPTION] DIRECTORY..."
#define mkdir_full_usage \
@ -1559,6 +1564,25 @@
"$ mount /dev/fd0 /mnt -t msdos -o ro\n" \
"$ mount /tmp/diskimage /opt -t ext2 -o loop\n"
#define msvc_trivial_usage \
"-[udorspchaitkx] service"
#define msvc_full_usafe \
"[option] service\n" \
"Where option is one of\n" \
"\t-u\tUp. If the service is not running, start it. If the service stops, restart it.\n" \
"\t-d\tDown. If the service is running, stop it, do not restart it.\n" \
"\t-o\tOnce. If the service is not running, start it. Do not restart it if it stops.\n" \
"\t-r\tTell supervise that the service is normally running; this affects status messages.\n" \
"\t-s\tTell supervise that the service is normally stopped; this affects status messages.\n" \
"\t-p\tPause. Send the service a STOP signal.\n" \
"\t-c\tContinue. Send the service a CONT signal.\n" \
"\t-h\tHangup. Send the service a HUP signal.\n" \
"\t-a\tAlarm. Send the service an ALRM signal.\n" \
"\t-i\tInterrupt. Send the service an INT signal.\n" \
"\t-t\tTerminate. Send the service a TERM signal.\n" \
"\t-k\tKill. Send the service a KILL signal.\n" \
"\t-x\tExit. supervise will quit as soon as the service is down.\n"
#define mt_trivial_usage \
"[-f device] opcode value"
#define mt_full_usage \
@ -1666,6 +1690,11 @@
"\t-l\tLocks (disables) the specified user account.\n" \
"\t-u\tUnlocks (re-enables) the specified user account."
#define pidfilehack_trivial_usage \
"[daemon.pid] [daemon]"
#define pidfilehack_full_usage \
"service /var/run/daemon.pid /usr/sbin/daemon args...\n"
#define pidof_trivial_usage \
"process-name [process-name ...]"
#define pidof_full_usage \