mathieu: server/kolabd/kolabd/dist_conf kolabsrv.in,1.16,1.17

cvs at kolab.org cvs at kolab.org
Tue Mar 17 23:16:50 CET 2009


Author: mathieu

Update of /kolabrepository/server/kolabd/kolabd/dist_conf
In directory doto:/tmp/cvs-serv23664/dist_conf

Modified Files:
	kolabsrv.in 
Log Message:
dist_conf/kolabsrv.in: add debian flavour


Index: kolabsrv.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/dist_conf/kolabsrv.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- kolabsrv.in	25 Feb 2009 22:40:51 -0000	1.16
+++ kolabsrv.in	17 Mar 2009 22:16:48 -0000	1.17
@@ -43,6 +43,17 @@
 			clamav) SERVICE="clamd" ;;
 			*) SERVICE=$sname
 		esac
+	elif [ -e /etc/debian_version ]; then
+		case $sname in
+			openldap) SERVICE="@LDAPD@" ;;
+			sasl) SERVICE="saslauthd" ;;
+			imapd) SERVICE="kolab-cyrus" ;;
+			amavisd) SERVICE="amavis" ;;
+			clamav) SERVICE="clamav-daemon" ;;
+			spamd) SERVICE="spamassassin" ;;
+			freshclam) SERVICE="clamav-freshclam" ;;
+			*) SERVICE=$sname
+		esac
 	fi
 }	
 
@@ -54,7 +65,7 @@
 # Use the service name as defined in the openpkg environment
 # Kolab installations on native distributions, should adap service names
 # with the function getServiceName
-SERVICES="@LDAPD@ saslauthd spamd amavisd apache2 freshclam cyrus postfix"
+SERVICES="@LDAPD@ saslauthd spamd amavisd apache2 freshclam imapd postfix"
 SERVICES="$SERVICES clamav kolabd"
 
 case $RC in 





More information about the commits mailing list