Someone
public text v1 · immutable#!/bin/sh
#
# authdaemon Courier-Authdaemon
#
# chkconfig: 345 75 25
# description: Courier-Authdaemon
# processname: authdaemond
# pidfile: /var/spool/authdaemon/pid
start () {
echo -n "Starting authdaemond: "
authdaemond start 2> /dev/null &&
echo -e $RESULT_OK ||
echo -e $RESULT_FAIL
}
stop () {
echo -n "Stopping authdaemond: "
authdaemond stop 2> /dev/null &&
echo -e $RESULT_OK ||
echo -e $RESULT_FAIL
}
restart () {
$0 stop
$0 start
}
. /lib/lsb/init-functions