Hi

RH/fedora use chkconfig command to enable/disable a service.
This command requires some comment in the startup script to create links
in /etc/rc.d/*

Here they are :

# chkconfig: 2345 99 00
# description: Kolab service


and Here a working startup script

#!/bin/sh
#
# chkconfig: 2345 99 00
# description: Kolab service
##
##  kolab -- startup/shutdown transfer script for OpenPKG /kolab hierarchy
##

[ ! -f /kolab/etc/rc ] && exit 0
case $1 in
    start ) exec /kolab/etc/rc all start ;;
    stop  ) exec /kolab/etc/rc all stop  ;;
esac


Could you add these 2 lines ?

Then you can enable, disable using command like :

# chkconfig --add kolab
# chkconfig --level 345 kolab on


man chkconfig for more

Regards.

-- 
Alain Spineux
aspineux gmail com
May the sources be with you
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to