summary refs log tree commit diff
path: root/doc/runscripts.html
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2003-10-31 10:38:13 +0000
committerGerrit Pape <pape@smarden.org>2003-10-31 10:38:13 +0000
commiteab11f2ac91d5fb60390a1eaad2a636f8b2b2122 (patch)
treedf0bf4e0a0871938a7eb80e0a805f97f662b43c1 /doc/runscripts.html
parentaf9bdb04113a0f17f1820417f405bb7a1a6509ec (diff)
downloadrunit-eab11f2ac91d5fb60390a1eaad2a636f8b2b2122.tar.gz
runit-eab11f2ac91d5fb60390a1eaad2a636f8b2b2122.tar.xz
runit-eab11f2ac91d5fb60390a1eaad2a636f8b2b2122.zip
add pppd run script (iwth chpst) next to the pp one.
Diffstat (limited to 'doc/runscripts.html')
-rw-r--r--doc/runscripts.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/runscripts.html b/doc/runscripts.html
index 42fdd62..cb37500 100644
--- a/doc/runscripts.html
+++ b/doc/runscripts.html
@@ -395,6 +395,13 @@ to be set up.
  echo "ppp -ddial dsl "
  exec /usr/sbin/ppp -unit0 -foreground dsl
 </pre>
+<h3>A <tt>pppd</tt> run script</h3>
+(<i>Linux</i>)
+<pre>
+ #!/bin/sh
+ exec 2>&1
+ exec chpst -P pppd call isp nodetach
+</pre>
 <hr>
 <h3><a name="proftpd">A <tt>proftpd</tt> run script</a></h3>
 (<i>Linux</i>, ProFTPD Version 1.2.8rc1,