diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index d4d923beb..9c14f4508 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 | |||
3256 | #define sv_trivial_usage \ | 3256 | #define sv_trivial_usage \ |
3257 | "[-v] [-w sec] command service..." | 3257 | "[-v] [-w sec] command service..." |
3258 | #define sv_full_usage \ | 3258 | #define sv_full_usage \ |
3259 | "Report the current status and control the state of services " \ | 3259 | "Control services monitored by runsv supervisor.\n" \ |
3260 | "monitored by the runsv supervisor" | 3260 | "Commands (only first character is enough):\n" \ |
3261 | "\n" \ | ||
3262 | "status: query service status\n" \ | ||
3263 | "up: if service isn't running, start it. If service stops, restart it\n" \ | ||
3264 | "once: like 'up', but if service stops, don't restart it\n" \ | ||
3265 | "down: send TERM and CONT signals. If ./run exits, start ./finish\n" \ | ||
3266 | " if it exists. After it stops, do not restart service\n" \ | ||
3267 | "exit: send TERM and CONT signals to service and log service. If they exit,\n" \ | ||
3268 | " runsv exits too\n" \ | ||
3269 | "pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send\n" \ | ||
3270 | "STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service" | ||
3261 | 3271 | ||
3262 | #define svlogd_trivial_usage \ | 3272 | #define svlogd_trivial_usage \ |
3263 | "[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..." | 3273 | "[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..." |