aboutsummaryrefslogtreecommitdiff
path: root/runit/runsvdir.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-10-19 00:41:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-19 00:41:28 +0200
commit0863e1a576c4b26bb87564b3a403f1094814f1aa (patch)
tree5670b59149bfff4ad86acf008ac66abf0f7557da /runit/runsvdir.c
parent000eda41c084bae95d9e40a570cbdaa5ffd3d22e (diff)
downloadbusybox-w32-0863e1a576c4b26bb87564b3a403f1094814f1aa.tar.gz
busybox-w32-0863e1a576c4b26bb87564b3a403f1094814f1aa.tar.bz2
busybox-w32-0863e1a576c4b26bb87564b3a403f1094814f1aa.zip
runit/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r--runit/runsvdir.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index b4c0b2ef0..b3d9e7390 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -26,7 +26,27 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26*/ 26*/
27 27
28/* Busyboxed by Denys Vlasenko <vda.linux@googlemail.com> */ 28/* Busyboxed by Denys Vlasenko <vda.linux@googlemail.com> */
29/* TODO: depends on runit_lib.c - review and reduce/eliminate */ 29
30//config:config RUNSVDIR
31//config: bool "runsvdir"
32//config: default y
33//config: help
34//config: runsvdir starts a runsv process for each subdirectory, or symlink to
35//config: a directory, in the services directory dir, up to a limit of 1000
36//config: subdirectories, and restarts a runsv process if it terminates.
37//config:
38//config:config FEATURE_RUNSVDIR_LOG
39//config: bool "Enable scrolling argument log"
40//config: depends on RUNSVDIR
41//config: default n
42//config: help
43//config: Enable feature where second parameter of runsvdir holds last error
44//config: message (viewable via top/ps). Otherwise (feature is off
45//config: or no parameter), error messages go to stderr only.
46
47//applet:IF_RUNSVDIR(APPLET(runsvdir, BB_DIR_USR_BIN, BB_SUID_DROP))
48
49//kbuild:lib-$(CONFIG_RUNSVDIR) += runsvdir.o
30 50
31//usage:#define runsvdir_trivial_usage 51//usage:#define runsvdir_trivial_usage
32//usage: "[-P] [-s SCRIPT] DIR" 52//usage: "[-P] [-s SCRIPT] DIR"