[Kroupware] Kolab SystemV script for RedHat Linux (v2)

Bernhard Erdmann be at berdmann.de
Mon Jul 28 23:40:05 CEST 2003


/etc/init.d/kolab for "chkconfig kolab on":


#!/bin/sh
#
# chkconfig: 345 99 01
# description: starts and stops the Kolab server
#
[ ! -f /kolab/etc/rc.d/rc.kolab ] && exit 0
case "$1" in
     start)
         /kolab/etc/rc.d/rc.kolab $1
         ;;
     stop)
         /kolab/etc/rc.d/rc.kolab $1
         ;;
     restart)
         /kolab/etc/rc.d/rc.kolab $1
         ;;
     reload)
         /kolab/etc/rc.d/rc.kolab $1
         ;;
     *)
         echo "$0 start|stop|restart|reload"
         ;;
esac




More information about the Kroupware mailing list