diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-27 20:26:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-27 20:26:44 +0000 |
commit | 6f0a6fcdb97c4a945e1491828d9d8314884f08ef (patch) | |
tree | dfca261088ac886001e98ca4b39447deb698f033 /doc/faq.html | |
parent | d8396a4b4faebac030b319daf9edf139c4ecf40d (diff) | |
download | s6-rc-6f0a6fcdb97c4a945e1491828d9d8314884f08ef.tar.xz |
- appease gcc, which still doesn't understand data flow across gotos, in s6rc_lock
- document proper service stubbing for OpenRC
Diffstat (limited to 'doc/faq.html')
-rw-r--r-- | doc/faq.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/faq.html b/doc/faq.html index 9abf75b..b54b79a 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -190,8 +190,12 @@ create a service definition directory named <em>foo</em>: <li> <tt><em>foo</em>/type</tt> contains <tt>oneshot</tt> </li> <li> <tt><em>foo</em>/dependencies</tt> contains the list of dependencies for <em>foo</em> </li> - <li> <tt><em>foo</em>/up</tt> contains <tt>/etc/init.d/<em>foo</em> start</tt> </li> - <li> <tt><em>foo</em>/down</tt> contains <tt>/etc/init.d/<em>foo</em> stop</tt> </li> + <li> <tt><em>foo</em>/up</tt> contains <tt>/etc/init.d/<em>foo</em> start</tt> +if you're using sysv-rc, or <tt>rc-service start foo -D -q</tt> if you're +using OpenRC </li> + <li> <tt><em>foo</em>/down</tt> contains <tt>/etc/init.d/<em>foo</em> stop</tt> +if you're using sysv-rc, or <tt>rc-service stop foo -D -q</tt> if you're +using OpenRC </li> </ul> <p> |