From f223efbcde63c0c01e5b1331f2fc7f1a9c812f20 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 3 Aug 2007 10:58:12 +0000 Subject: svlogd: fix timestamping; do not warn if config is missing sv: extend help text --- include/usage.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'include/usage.h') 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 #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..." -- cgit v1.2.3