summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Bos <richard@radoeka.nl>2010-05-16 19:18:05 (GMT)
committerRichard Bos <richard@radoeka.nl>2010-05-16 19:18:05 (GMT)
commit436b3afd9a427d458a7ab98f73d597b85c9a9e46 (patch)
tree8f28b2a8232ebef421d8a62b7095b6be7ad1864e
parent9c0d3944a37c97ba807cdeca8759cb210194837f (diff)
downloadkolab-conf-436b3afd9a427d458a7ab98f73d597b85c9a9e46.tar.gz
Added redhar services
-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" ;;