summaryrefslogtreecommitdiff
path: root/conf/dist/kolabsrv.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/dist/kolabsrv.in')
-rw-r--r--conf/dist/kolabsrv.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/conf/dist/kolabsrv.in b/conf/dist/kolabsrv.in
index 0ad95c9..ba64837 100644
--- a/conf/dist/kolabsrv.in
+++ b/conf/dist/kolabsrv.in
@@ -37,10 +37,10 @@ function getServiceName() {
# Perhaps better use:
# lsb_release -i | cut -f2
case $system in
- redhat)
+ redhat|fedora)
case $sname in
apache) SERVICE="httpd" ;;
- openldap) SERVICE="@LDAPD@" ;;
+ openldap) SERVICE="ldap" ;;
sasl) SERVICE="saslauthd" ;;
imapd) SERVICE="cyrus-imapd" ;;
amavisd) SERVICE="amavisd" ;;
@@ -52,7 +52,7 @@ function getServiceName() {
opensuse)
case $sname in
apache) SERVICE="apache2" ;;
- openldap) SERVICE="@LDAPD@" ;;
+ openldap) SERVICE="ldap" ;;
sasl) SERVICE="saslauthd" ;;
imapd) SERVICE="cyrus" ;;
amavisd) SERVICE="amavis" ;;
@@ -63,7 +63,7 @@ function getServiceName() {
debian)
case $sname in
apache) SERVICE="apache2" ;;
- openldap) SERVICE="@LDAPD@" ;;
+ openldap) SERVICE="slapd" ;;
sasl) SERVICE="saslauthd" ;;
imapd) SERVICE="kolab-cyrus" ;;
amavisd) SERVICE="amavis" ;;
@@ -76,7 +76,7 @@ function getServiceName() {
mandriva)
case $sname in
apache) SERVICE="httpd" ;;
- openldap) SERVICE="@LDAPD@" ;;
+ openldap) SERVICE="ldap" ;;
sasl) SERVICE="saslauthd" ;;
imapd) SERVICE="cyrus-imapd" ;;
amavisd) SERVICE="amavisd" ;;
@@ -96,6 +96,8 @@ if [ -f /etc/arch-release ]; then
system=arch
elif [ -f /etc/redhat-release ]; then
system=redhat
+elif [ -f /etc/fedora-release ]; then
+ system=fedora
elif [ -f /etc/SuSE-release ]; then
system=opensuse
elif [ -f /etc/gentoo-release ]; then