commit 11e9ea3573da3d5c580e2d7e80733a2ad6db07f1
parent 48de3aeee677961011282a8627ad18d0e3b9216c
Author: Gerrit Pape <pape@smarden.org>
Date: Tue, 11 Mar 2003 10:42:20 +0000
run scripts from Jesse Cablek.
Diffstat:
1 file changed, 64 insertions(+), 5 deletions(-)
diff --git a/doc/runscripts.html b/doc/runscripts.html
@@ -18,7 +18,8 @@ an operating system not stated here, please
<a href="mailto:pape-runscripts@smarden.org">let me know</a>.
<p>
Thanks go to the following people for contributing run scripts:
-Alessandro Bono, Robin S. Socha, Claus Alboege, Paul Jarc, clemens fischer
+Alessandro Bono, Robin S. Socha, Claus Alboege, Paul Jarc, clemens fischer,
+Jesse Cablek.
<hr>
<a href="#apache">apache</a><br>
<a href="#apache2">apache2</a><br>
@@ -26,10 +27,12 @@ Alessandro Bono, Robin S. Socha, Claus Alboege, Paul Jarc, clemens fischer
<a href="#cfengine">cfengine</a><br>
<a href="#cups">cups</a><br>
<a href="#dhclient">dhclient</a><br>
+<a href="#dhcpcd">dhcpcd</a><br>
<a href="#dhcpd">dhcpd</a><br>
<a href="#expireproctitle">expireproctitle</a><br>
<a href="#gdm">gdm</a><br>
<a href="#getty">getty</a><br>
+<a href="#identd">identd</a><br>
<a href="#klogd">klogd</a><br>
<a href="#loglinuxkernel">logging Linux kernel messages</a><br>
<a href="http://multivac.cwru.edu./fdtools/grabconsole/">
@@ -38,8 +41,10 @@ logging console messages</a><br>
<a href="#pop3-ssl">pop3-ssl</a><br>
<a href="#postgresql">postgresql</a><br>
<a href="#ppp">ppp</a><br>
+<a href="#proftpd">proftpd</a><br>
<a href="#pure-ftpd">pure-ftpd</a><br>
<a href="#rsyncd">rsyncd</a><br>
+<a href="#samba">samba (smbd, nmbd)</a><br>
<a href="#squid">squid</a><br>
<a href="#sshd">sshd</a><br>
<a href="#sshdtcpserver">sshd under tcpserver</a><br>
@@ -105,6 +110,13 @@ logging console messages</a><br>
exec dhclient -e -d -cf ./config -lf ./leases -pf ./pid eth1
</pre>
<hr>
+<h3><a name="dhcpcd">A <tt>dhcpcd</tt> run script</a></h3>
+(<i>Linux</i>, DHCP Client Daemon v.scriptconfig-0.1)
+<pre>
+ #!/bin/sh
+ dhcpcd -a -d -D -H eth0
+</pre>
+<hr>
<h3><a name="dhcpd">A <tt>dhcpd</tt> run script</a></h3>
(<i>Debian woody</i>)
<pre>
@@ -142,6 +154,14 @@ The <a href="index.html">runit</a> package does not care about utmp records
for getties. You should choose a getty that handles its own utmp and wtmp
records. Debian's <tt>mingetty</tt> does create his own utmp record.
<hr>
+<h3><a name="identd">An <tt>oidentd</tt> run script</a></h3>
+(<i>Linux</i>, oidentd version 2.0.4, needs patch to add the -n flag)
+<pre>
+ #!/bin/sh
+ exec 2>&1
+ exec oidentd -n -udaemon -gdaemon
+</pre>
+<hr>
<h3><a name="klogd">A <tt>klogd</tt> run script</a></h3>
(<i>Debian woody</i>)
<pre>
@@ -169,6 +189,13 @@ A run script for <tt>logging Linux kernel messages with multilog</tt></a></h3>
--socket=/tmp/mysql.sock \
--pid-file=/pack/mysql/data/mysql.pid 2>&1
</pre>
+(<i>Linux</i>, mysqld Ver 3.23.54-max for pc-linux on i686)
+<pre>
+ #!/bin/sh
+ cd /usr/local/mysql
+ ./bin/safe_mysqld
+ cd
+</pre>
<hr>
<h3><a name="pop3-ssl">A <tt>pop3-ssl</tt> run script</a></h3>
(<i>BSD</i>)
@@ -200,6 +227,17 @@ to be set up.
exec /usr/sbin/ppp -unit0 -foreground dsl
</pre>
<hr>
+<h3><a name="proftpd">A <tt>proftpd</tt> run script</a></h3>
+(<i>Linux</i>, ProFTPD Version 1.2.8rc1)
+<pre>
+ #!/bin/sh
+ exec 2>&1
+ exec proftpd -n -d 1
+</pre>
+This service needs a
+<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a>
+to be set up.
+<hr>
<h3><a name="pure-ftpd">A <tt>pure-ftpd</tt> run script</a></h3>
(<i>Debian woody</i>, a.bono)
<pre>
@@ -222,6 +260,29 @@ This service needs a
<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a>
to be set up.
<hr>
+<h3><a name="samba">A <tt>smbd</tt> run script</a></h3>
+(<i>Linux</i>, smbd Version 2.2.7a)
+<pre>
+ #!/bin/sh
+ PATH="/usr/local/samba/bin"
+ exec 2>&1
+ exec smbd -i -d3
+</pre>
+This service needs a
+<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a>
+to be set up.
+<h3>A <tt>nmbd</tt> run script</h3>
+(<i>Linux</i>, nmbd Version 2.2.7a)
+<pre>
+ #!/bin/sh
+ PATH="/usr/local/samba/bin"
+ exec 2>&1
+ exec nmbd -i -d1
+</pre>
+This service needs a
+<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a>
+to be set up.
+<hr>
<h3><a name="squid">A <tt>squid</tt> run script</a></h3>
(<i>Debian woody</i>)
<pre>
@@ -230,7 +291,7 @@ to be set up.
</pre>
<hr>
<h3><a name="sshd">A <tt>sshd</tt> run script</a></h3>
-(<i>Debian woody</i>)
+(<i>Debian woody</i>, sshd version OpenSSH_2.9p2)
<pre>
#!/bin/sh
exec 2>&1
@@ -239,12 +300,10 @@ to be set up.
This service needs a
<a href="http://cr.yp.to/daemontools/faq/create.html#runlog">log service</a>
to be set up.
-<p>
-The <tt>sshd</tt> program is version <tt>OpenSSH_2.9p2</tt>.
<hr>
<h3><a name="sshdtcpserver">
A <tt>sshd (under tcpserver)</tt> run script</a></h3>
-(<i>Linux</i>)
+(<i>Linux</i>, sshd version OpenSSH_3.4p1)
<pre>
#!/bin/sh -e
exec 2>&1