runit: add runsv, runsvdir and sv. Oh yes.
It even seems to work. +11K. :(
This commit is contained in:
@ -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))
|
||||
|
@ -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 \
|
||||
|
Reference in New Issue
Block a user