summaryrefslogtreecommitdiff
path: root/runit/sv.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-11-06 23:07:42 +0000
committerDenis Vlasenko2008-11-06 23:07:42 +0000
commitf068b3e9f47388353b7b134131ce4b66d57f7df8 (patch)
treed829581ac7c1d316729a9a0ed2954a7127cd608c /runit/sv.c
parent3854c5ddf4eb267e4e53796eaa1051421dcb4e08 (diff)
downloadbusybox-f068b3e9f47388353b7b134131ce4b66d57f7df8.zip
busybox-f068b3e9f47388353b7b134131ce4b66d57f7df8.tar.gz
sv: make default service dir configurable (Vladimir wants it)
Diffstat (limited to 'runit/sv.c')
-rw-r--r--runit/sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/sv.c b/runit/sv.c
index 532bdb8..7e5efde 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -417,7 +417,7 @@ int sv_main(int argc, char **argv)
unsigned i, want_exit;
char *x;
char *action;
- const char *varservice = "/var/service/";
+ const char *varservice = CONFIG_SV_DEFAULT_SERVICE_DIR;
unsigned services;
char **servicex;
unsigned waitsec = 7;