commit 7d60bd9ed1e929ff4f1e7608c39a31e26c81f87c
parent 9fba0fc21a2fb9f791ad5c0ec835f6dc9b52e51c
Author: Gerrit Pape <pape@smarden.org>
Date: Sat, 3 May 2003 16:08:23 +0000
minor.
Diffstat:
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/doc/replaceinit.html b/doc/replaceinit.html
@@ -77,13 +77,12 @@ not migrated to use <tt>run</tt> scripts yet, add the corresponding
<pre>
#!/bin/sh
# one time tasks
- rm -f /etc/runit/stopit
- /etc/init.d/rcS
/etc/init.d/kerneld start
/etc/init.d/rmnologin
- exit 0
+ touch /etc/runit/stopit
+ chmod 0 /etc/runit/stopit
</pre>
It is possible to just add <tt>/etc/init.d/rc 2</tt> for having all services
from the former runlevel 2 started as one time tasks, but keep the goal above
@@ -200,11 +199,11 @@ services are started automatically:
<pre>
#!/bin/sh
# system one time tasks
- rm -f /etc/runit/stopit
/bin/sh /etc/rc autoboot
- exit 0
+ touch /etc/runit/stopit
+ chmod 0 /etc/runit/stopit
</pre>
To migrate a service, create a service directory, disable the service if
it is running, disable the service in <tt>/etc/rc.conf</tt> or remove the
diff --git a/package/CHANGES b/package/CHANGES
@@ -4,7 +4,7 @@ Sat, 03 May 2003 17:40:23 +0200
* doc/index.html: adapt; reorder programs; runsvstat, runsvctrl installed
by default.
* doc/install.html: remove dependency on daemontools; create /package.
- * doc/replaceinit.html, man/runsv.8: typo.
+ * doc/replaceinit.html, man/runsv.8: typos.
* man/svwaitdown.8, man/svwaitup.8: refer to runit and supervise.
* svlogd.c: fix counter var namespace.
* package/commands: add runsvctrl, runsvstat.