diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /runit/sv.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit/sv.c')
-rw-r--r-- | runit/sv.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/runit/sv.c b/runit/sv.c index c420a91a6..322688a36 100644 --- a/runit/sv.c +++ b/runit/sv.c | |||
@@ -153,6 +153,22 @@ Exit Codes | |||
153 | /* Busyboxed by Denys Vlasenko <vda.linux@googlemail.com> */ | 153 | /* Busyboxed by Denys Vlasenko <vda.linux@googlemail.com> */ |
154 | /* TODO: depends on runit_lib.c - review and reduce/eliminate */ | 154 | /* TODO: depends on runit_lib.c - review and reduce/eliminate */ |
155 | 155 | ||
156 | //usage:#define sv_trivial_usage | ||
157 | //usage: "[-v] [-w SEC] CMD SERVICE_DIR..." | ||
158 | //usage:#define sv_full_usage "\n\n" | ||
159 | //usage: "Control services monitored by runsv supervisor.\n" | ||
160 | //usage: "Commands (only first character is enough):\n" | ||
161 | //usage: "\n" | ||
162 | //usage: "status: query service status\n" | ||
163 | //usage: "up: if service isn't running, start it. If service stops, restart it\n" | ||
164 | //usage: "once: like 'up', but if service stops, don't restart it\n" | ||
165 | //usage: "down: send TERM and CONT signals. If ./run exits, start ./finish\n" | ||
166 | //usage: " if it exists. After it stops, don't restart service\n" | ||
167 | //usage: "exit: send TERM and CONT signals to service and log service. If they exit,\n" | ||
168 | //usage: " runsv exits too\n" | ||
169 | //usage: "pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" | ||
170 | //usage: "STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service" | ||
171 | |||
156 | #include <sys/poll.h> | 172 | #include <sys/poll.h> |
157 | #include <sys/file.h> | 173 | #include <sys/file.h> |
158 | #include "libbb.h" | 174 | #include "libbb.h" |