summary refs log tree commit diff
path: root/doc/runscripts.html
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2003-03-24 13:34:03 +0000
committerGerrit Pape <pape@smarden.org>2003-03-24 13:34:03 +0000
commitea66ecc7f1ff369564e14b7ab3277bcd3efecf7e (patch)
tree990e18f10071230f08755b2f09ea10815b365101 /doc/runscripts.html
parentc7aabbcb1ada0b37637a1fc1277b54d9d7eaee78 (diff)
downloadrunit-ea66ecc7f1ff369564e14b7ab3277bcd3efecf7e.tar.gz
runit-ea66ecc7f1ff369564e14b7ab3277bcd3efecf7e.tar.xz
runit-ea66ecc7f1ff369564e14b7ab3277bcd3efecf7e.zip
add run script from Thomas Baden.
Diffstat (limited to 'doc/runscripts.html')
-rw-r--r--doc/runscripts.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/runscripts.html b/doc/runscripts.html
index 13b3e44..11b685d 100644
--- a/doc/runscripts.html
+++ b/doc/runscripts.html
@@ -19,7 +19,7 @@ an operating system not stated here, please
 <p>
 Thanks go to the following people for contributing run scripts:
 Alessandro Bono, Robin S. Socha, Claus Alboege, Paul Jarc, clemens fischer,
-Jesse Cablek, Lukas Beeler.
+Jesse Cablek, Lukas Beeler, Thomas Baden.
 <hr>
 <a href="#apache">apache</a><br>
 <a href="#apache2">apache2</a><br>
@@ -158,6 +158,24 @@ this page</a>.
 This service needs a
 <a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a>
 to be set up.
+<p>
+(<i>Solaris 8</i>, uses additional dsvclockd service, would get fired off
+automatically, but then it's not supervised)
+<pre>
+ #!/bin/sh
+ exec 2>&1
+ exec /command/envdir ./env /usr/lib/inet/dsvclockd -f
+</pre>
+<pre>
+ #!/bin/sh
+ if /command/svok /service/dsvclockd; then
+   /usr/bin/sleep 2 # wait to make sure dsvclockd is initialized
+   exec 2>&1
+   exec /command/envdir ./env /usr/lib/inet/in.dhcpd -b manual -d # -v
+ fi
+ echo dsvclockd is not running - aborting
+ exec /usr/bin/sleep 5
+</pre>
 <hr>
 <h3><a name="expireproctitle">
 <tt>expireproctitle</tt> run script examples</a></h3>