diff options
author | Denis Vlasenko | 2006-11-17 18:58:16 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-17 18:58:16 +0000 |
commit | 8a00f44bf4675076adfe312b71a6ff3670feef7d (patch) | |
tree | bd51123a09a6e587b98dfa156ca7bf0ba55b2325 /include | |
parent | a5342b4541c9c6b350ca015b94c7fd00d125e088 (diff) | |
download | busybox-8a00f44bf4675076adfe312b71a6ff3670feef7d.zip busybox-8a00f44bf4675076adfe312b71a6ff3670feef7d.tar.gz |
runit: add runsv, runsvdir and sv. Oh yes.
It even seems to work. +11K. :(
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index c4c75a8..78fa688 100644 --- a/include/applets.h +++ b/include/applets.h @@ -246,6 +246,8 @@ USE_RPM(APPLET(rpm, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_RPM2CPIO(APPLET(rpm2cpio, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, _BB_DIR_BIN, _BB_SUID_NEVER, run_parts)) USE_RUNLEVEL(APPLET(runlevel, _BB_DIR_SBIN, _BB_SUID_NEVER)) +USE_RUNSV(APPLET(runsv, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) +USE_RUNSVDIR(APPLET(runsvdir, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_RX(APPLET(rx, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_SED(APPLET(sed, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_SEQ(APPLET(seq, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) @@ -270,6 +272,7 @@ USE_STTY(APPLET(stty, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_SU(APPLET(su, _BB_DIR_BIN, _BB_SUID_ALWAYS)) USE_SULOGIN(APPLET(sulogin, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_SUM(APPLET(sum, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) +USE_SV(APPLET(sv, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_SVLOGD(APPLET(svlogd, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_SWAPONOFF(APPLET_ODDNAME(swapoff, swap_on_off, _BB_DIR_SBIN, _BB_SUID_NEVER,swapoff)) USE_SWAPONOFF(APPLET_ODDNAME(swapon, swap_on_off, _BB_DIR_SBIN, _BB_SUID_NEVER, swapon)) diff --git a/include/usage.h b/include/usage.h index f1b4b35..77986fe 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2571,6 +2571,16 @@ USE_FEATURE_MDEV_CONFIG( \ "$ runlevel /var/run/utmp\n" \ "N 2" +#define runsv_trivial_usage \ + "dir" +#define runsv_full_usage \ + "Start and monitor a service and optionally an appendant log service." + +#define runsvdir_trivial_usage \ + "[-P] dir" +#define runsvdir_full_usage \ + "Start a runsv process for each subdirectory." + #define rx_trivial_usage \ "FILE" #define rx_full_usage \ @@ -2844,6 +2854,12 @@ USE_FEATURE_START_STOP_DAEMON_FANCY( \ "\t-r\tuse BSD sum algorithm (1K blocks)\n" \ "\t-s\tuse System V sum algorithm (512byte blocks)" +#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." + #define svlogd_trivial_usage \ "[-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir..." #define svlogd_full_usage \ |