3 ### /etc/rc.d/gopherd: Initscript for Gopher Daemon
8 PID
=`pidof -o %PPID /usr/sbin/gopherd`
11 stat_busy
"Starting Gopher Daemon"
13 /usr
/sbin
/gopherd
-d &> /dev
/null
16 else stat_done
; add_daemon gopherd
17 echo $PID > /var
/run
/gopherd.pid
20 stat_busy
"Stopping Gopher Daemon"
22 && kill $PID &>/dev
/null
26 stat_done
; rm_daemon gopherd
33 echo "usage: $0 {start|stop|restart}"
38 ### /etc/rc.d/gopherd: Initscript for Gopher Daemon