summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2007-08-03 10:58:12 +0000
committerDenis Vlasenko2007-08-03 10:58:12 +0000
commitf223efbcde63c0c01e5b1331f2fc7f1a9c812f20 (patch)
treedc309c15cc447cd3d815d18e44fefb4534e6316b /include
parent9a3b7b1db736c572ec8c2959daac148369a14cef (diff)
downloadbusybox-f223efbcde63c0c01e5b1331f2fc7f1a9c812f20.zip
busybox-f223efbcde63c0c01e5b1331f2fc7f1a9c812f20.tar.gz
svlogd: fix timestamping; do not warn if config is missing
sv: extend help text
Diffstat (limited to 'include')
-rw-r--r--include/usage.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index d4d923b..9c14f45 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3256,8 +3256,18 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
#define sv_trivial_usage \
"[-v] [-w sec] command service..."
#define sv_full_usage \
- "Report the current status and control the state of services " \
- "monitored by the runsv supervisor"
+ "Control services monitored by runsv supervisor.\n" \
+ "Commands (only first character is enough):\n" \
+ "\n" \
+ "status: query service status\n" \
+ "up: if service isn't running, start it. If service stops, restart it\n" \
+ "once: like 'up', but if service stops, don't restart it\n" \
+ "down: send TERM and CONT signals. If ./run exits, start ./finish\n" \
+ " if it exists. After it stops, do not restart service\n" \
+ "exit: send TERM and CONT signals to service and log service. If they exit,\n" \
+ " runsv exits too\n" \
+ "pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" \
+ "STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service"
#define svlogd_trivial_usage \
"[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..."