Stefan Hornburg schrieb:
Patrick Matthäi wrote:
Hi,

it seems as the only fault there is the killall -9 authdaemon in the init.d script.

There is no killall -9 authdaemon command in the init.d script of the
Debian package.

Regards
    Racke


Very curios.

# cat /etc/init.d/courier-authdaemon
#! /bin/sh -e

prefix="/usr"
exec_prefix=${prefix}
sysconfdir="/etc/courier"
sbindir="${exec_prefix}/sbin"
daemonscript="${sbindir}/authdaemond"

. /lib/lsb/init-functions

# Check for a leftover init script
if [ ! -x $daemonscript ]; then
       exit 0
fi

case "$1" in
start)
       # Start daemon.
       cd /
log_daemon_msg "Starting Courier authentication services" "authdaemond"
       $daemonscript start
       log_end_msg 0
       ;;
stop)
       # Stop daemon.
       cd /
log_daemon_msg "Stopping Courier authentication services" "authdaemond"
       $daemonscript stop
       killall -9 authdaemon
       log_end_msg 0
   ;;
restart|reload|force-reload)
       $0 stop
       $0 start
   ;;
*)
       echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2
       exit 2
       ;;
esac
exit 0


This is the one which I get through the etch repository.
The same (but with the fixed killall) on another system.

Reply via email to