aboutsummaryrefslogtreecommitdiff
path: root/runit/sv.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/sv.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/sv.c')
-rw-r--r--runit/sv.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/runit/sv.c b/runit/sv.c
index 825e9d45b..de8a0d8a4 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -151,7 +151,25 @@ Exit Codes
151*/ 151*/
152 152
153/* Busyboxed by Denys Vlasenko <vda.linux@googlemail.com> */ 153/* Busyboxed by Denys Vlasenko <vda.linux@googlemail.com> */
154/* TODO: depends on runit_lib.c - review and reduce/eliminate */ 154
155//config:config SV
156//config: bool "sv"
157//config: default y
158//config: help
159//config: sv reports the current status and controls the state of services
160//config: monitored by the runsv supervisor.
161//config:
162//config:config SV_DEFAULT_SERVICE_DIR
163//config: string "Default directory for services"
164//config: default "/var/service"
165//config: depends on SV
166//config: help
167//config: Default directory for services.
168//config: Defaults to "/var/service"
169
170//applet:IF_SV(APPLET(sv, BB_DIR_USR_BIN, BB_SUID_DROP))
171
172//kbuild:lib-$(CONFIG_SV) += sv.o
155 173
156//usage:#define sv_trivial_usage 174//usage:#define sv_trivial_usage
157//usage: "[-v] [-w SEC] CMD SERVICE_DIR..." 175//usage: "[-v] [-w SEC] CMD SERVICE_DIR..."