[Kolab-devel] [issue2353] make kolab more fedora/redhat more chkconfig friendly
Alain Spineux
kolab-issues at intevation.de
Thu Dec 20 21:18:38 CET 2007
New submission from Alain Spineux <alain.spineux at gmail.com>:
RH/fedora use chkconfig command to enable/disable a service.
This commend require 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
----------
messages: 13226
nosy: alain.spineux at gmail.com
status: unread
title: make kolab more fedora/redhat more chkconfig friendly
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue2353>
________________________________________________
More information about the devel
mailing list