summaryrefslogtreecommitdiffstats
path: root/kolabd/kolabd.sysvinit
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-09 15:26:44 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-09 15:26:44 +0000
commit4ff70ee8ecf15e96c59ac707a377ad01e873cbbc (patch)
tree29b6f8ec2c336c7bd87904a871de7586035d2580 /kolabd/kolabd.sysvinit
parent16c5b83ca5e6a67185a7d756d6172388c9ba2575 (diff)
downloadpykolab-4ff70ee8ecf15e96c59ac707a377ad01e873cbbc.tar.gz
Adjust sysvinit settings for kolabd and saslauthd
Diffstat (limited to 'kolabd/kolabd.sysvinit')
-rw-r--r--kolabd/kolabd.sysvinit32
1 files changed, 17 insertions, 15 deletions
diff --git a/kolabd/kolabd.sysvinit b/kolabd/kolabd.sysvinit
index 01e05e5..daa067a 100644
--- a/kolabd/kolabd.sysvinit
+++ b/kolabd/kolabd.sysvinit
@@ -1,39 +1,41 @@
#! /bin/bash
#
-# kolab-saslauthd Start/Stop the SASL authentication daemon
+# kolabd Start/Stop the Kolab server daemon
#
# chkconfig: - 65 10
-# description: The Kolab saslauthd is a server process which handles \
-# authentication requests on behalf of the cyrus-sasl library.
-# processname: kolab-saslauthd
+# description: The Kolab server is a server process which synchronizes
+# LDAP, SQL and other authentication databases with Cyrus IMAP,
+# Dovecot or other IMAP servers.
+# processname: kolabd
### BEGIN INIT INFO
-# Provides: kolab-saslauthd
+# Provides: kolabd
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network
-# Short-Description: Start/Stop the Kolab SASL authentication daemon
-# Description: The Kolab saslauthd is a server process which handles \
-# authentication requests on behalf of the cyrus-sasl library.
+# Short-Description: Start/Stop the Kolab Server daemon
+# Description: The Kolab server is a server process which synchronizes
+# LDAP, SQL and other authentication databases with Cyrus IMAP,
+# Dovecot or other IMAP servers.
### END INIT INFO
# Source function library.
. /etc/init.d/functions
# Source our configuration file for these variables.
-SOCKETDIR=/var/run/saslauthd
-FLAGS=
-if [ -f /etc/sysconfig/kolab-saslauthd ] ; then
- . /etc/sysconfig/kolab-saslauthd
+FLAGS="--fork -l warning"
+
+if [ -f /etc/sysconfig/kolabd ] ; then
+ . /etc/sysconfig/kolabd
fi
RETVAL=0
# Set up some common variables before we launch into what might be
# considered boilerplate by now.
-prog=kolab-saslauthd
-path=/usr/sbin/kolab-saslauthd
+prog=kolabd
+path=/usr/sbin/kolabd
lockfile=/var/lock/subsys/$prog
-pidfile=/var/run/kolab-saslauthd/kolab-saslauthd.pid
+pidfile=/var/run/kolabd/kolabd.pid
start() {
[ -x $path ] || exit 5