summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/dist/kolabsrv.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/dist/kolabsrv.in b/conf/dist/kolabsrv.in
index 37e8533..0ad95c9 100644
--- a/conf/dist/kolabsrv.in
+++ b/conf/dist/kolabsrv.in
@@ -37,6 +37,18 @@ function getServiceName() {
# Perhaps better use:
# lsb_release -i | cut -f2
case $system in
+ redhat)
+ case $sname in
+ apache) SERVICE="httpd" ;;
+ openldap) SERVICE="@LDAPD@" ;;
+ sasl) SERVICE="saslauthd" ;;
+ imapd) SERVICE="cyrus-imapd" ;;
+ amavisd) SERVICE="amavisd" ;;
+ clamav) SERVICE="clamd.amavisd" ;;
+ *) SERVICE=$sname
+ esac
+ ;;
+
opensuse)
case $sname in
apache) SERVICE="apache2" ;;