diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2015-05-13 14:47:35 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2015-05-13 16:10:08 -0500 |
commit | e372f97bebd4866633ad56aa5d5b1ae59fa88118 (patch) | |
tree | 629f947f5d8817d305e0b48454024ae8c63e7778 /s6-guide.md | |
parent | c2abf4b436b8cca8ebed395ff08f5fdc546eadac (diff) |
Fix the s6 handling
This changes the default s6 service directory to /var/svc.d, also
it changes the code to work with the individual services instead of
forcing a rescan when a service is started or stopped.
Diffstat (limited to 's6-guide.md')
-rw-r--r-- | s6-guide.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/s6-guide.md b/s6-guide.md index 4a37a9cc..9a09e32e 100644 --- a/s6-guide.md +++ b/s6-guide.md @@ -37,10 +37,10 @@ s6_service_path - the path to the s6 service directory s6_svwait_options_start - the options to pass to s6-svwait when starting s6_svwait_options_stop - the options to pass to s6-svwait when stopping. -The s6_service_path variable defaults to /etc/svc.d/${RC_SVCNAME} if it +The s6_service_path variable defaults to /var/svc.d/${RC_SVCNAME} if it is not set in the service script. For example, if you want a service script called /etc/init.d/foobar to use s6 to monitor its daemon, the s6 -service should be the directory /etc/svc.d/foobar. +service should be the directory /var/svc.d/foobar. See the documentation for s6 for more information about s6 service directories. |