4 # Required-Start: $syslog $remote_fs
5 # Should-Start: $time ypbind sendmail
6 # Required-Stop: $syslog $remote_fs
7 # Should-Stop: $time ypbind sendmail
9 # Default-Stop: 0 1 2 6
10 # Short-Description: The daemon
11 # Description: a cool daemon
13 # chkconfig: 345 99 00
14 # description: a cool daemon
17 DAEMON="/tmp/minid.pl"
20 . /lib/lsb/init-functions
24 echo -n "Starting $DAEMON "
25 start_daemon $DAEMON $PARA
29 echo -n "Shutting down $DAEMON "
30 killproc $DAEMON -TERM
38 echo -n "Checking for service $DAEMON "
39 pidofproc $DAEMON 2>&1 >/dev/null
43 echo "Usage: $0 {start|stop|restart|status}"
48 if [ "x$RETVAL" = "x0" ] ; then