[Lunar-commits] CVS: moonbase/mail/courier-authlib/init.d authdaemon, NONE, 1.1

Jan Eidtmann cmak at lunar-linux.org
Sun Mar 20 14:55:31 UTC 2005


Update of /var/cvs/lunar/moonbase/mail/courier-authlib/init.d
In directory espresso.foo-projects.org:/tmp/cvs-serv4107/mail/courier-authlib/init.d

Added Files:
	authdaemon 
Log Message:
forgot anything?

--- NEW FILE: authdaemon ---
#!/bin/sh
#
# authdaemon	    Courier-Authdaemon
#
# chkconfig: 345 75 25
# description: Courier-Authdaemon
# processname: authdaemond
# pidfile: /var/spool/authdaemon/pid

case $1 in
'start' )
  if [ -f /etc/authlib/authdaemonrc ] ; then
    echo -n "Starting authdameon: "
    authdaemond start &&
    echo -e $RESULT_OK ||
    echo -e $RESULT_FAIL
  fi
  ;;

'stop' )
    echo -n "Stopping authdameon: "
    authdaemond stop &&
    echo -e $RESULT_OK ||
    echo -e $RESULT_FAIL
  ;;
esac



More information about the Lunar-commits mailing list