diff options
author | Denys Vlasenko | 2015-10-19 00:41:28 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-10-19 00:41:28 +0200 |
commit | 0863e1a576c4b26bb87564b3a403f1094814f1aa (patch) | |
tree | 5670b59149bfff4ad86acf008ac66abf0f7557da /runit/sv.c | |
parent | 000eda41c084bae95d9e40a570cbdaa5ffd3d22e (diff) | |
download | busybox-0863e1a576c4b26bb87564b3a403f1094814f1aa.zip busybox-0863e1a576c4b26bb87564b3a403f1094814f1aa.tar.gz |
runit/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit/sv.c')
-rw-r--r-- | runit/sv.c | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -151,7 +151,25 @@ Exit Codes */ /* Busyboxed by Denys Vlasenko <vda.linux@googlemail.com> */ -/* TODO: depends on runit_lib.c - review and reduce/eliminate */ + +//config:config SV +//config: bool "sv" +//config: default y +//config: help +//config: sv reports the current status and controls the state of services +//config: monitored by the runsv supervisor. +//config: +//config:config SV_DEFAULT_SERVICE_DIR +//config: string "Default directory for services" +//config: default "/var/service" +//config: depends on SV +//config: help +//config: Default directory for services. +//config: Defaults to "/var/service" + +//applet:IF_SV(APPLET(sv, BB_DIR_USR_BIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_SV) += sv.o //usage:#define sv_trivial_usage //usage: "[-v] [-w SEC] CMD SERVICE_DIR..." |