[Kolab-devel] server/kolab rc.kolab,1.5,1.5.2.1 by martin at doto.intevation.de

root at intevation.de root at intevation.de
Thu Jul 31 21:09:53 CEST 2003


Update of /kolabrepository/server/kolab
In directory doto:/tmp/cvs-serv11649

Modified Files:
      Tag: KOLAB_1_0
	rc.kolab 
Log Message:
Martin K.: Fixed stupid s&r bug in rc.kolab, added login pw method to
smtpd.conf for OL2000 compatibility


Index: rc.kolab
===================================================================
RCS file: /kolabrepository/server/kolab/rc.kolab,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -d -r1.5 -r1.5.2.1
--- rc.kolab	22 May 2003 18:49:51 -0000	1.5
+++ rc.kolab	31 Jul 2003 19:09:51 -0000	1.5.2.1
@@ -60,26 +60,26 @@
     echo "starting postfix ..."
     @l_prefix@/sbin/postfix start
 
-    echo "starting kolab backend (please wait)"
+    echo "starting kolab backend (please wait)..."
     sleep 5
-    if [ -f @l_prefix@/var at l_prefix@@l_prefix at .pid ]; then
-       PID=`cat @l_prefix@/var at l_prefix@@l_prefix at .pid | awk '{print $1}'`
+    if [ -f @l_prefix@/var/kolab/kolab.pid ]; then
+       PID=`cat @l_prefix@/var/kolab/kolab.pid | awk '{print $1}'`
        KOLABS=`ps -p $PID 2>/dev/null | grep -c kolab | awk '{print $1}'`
        if [ $KOLABS -gt 0 ]; then
           echo "Warning: kolab is already running under pid $PID!"
        else
-          @l_prefix@/etc at l_prefix@@l_prefix@ &
+          @l_prefix@/etc/kolab/kolab &
        fi
     else 
-       @l_prefix@/etc at l_prefix@@l_prefix@ &
+       @l_prefix@/etc/kolab/kolab &
     fi
 
 %stop -p 200 -u root
     opServiceEnabled kolab || exit 0
 
     echo "stopping kolab backend ..."
-    if [ -f @l_prefix@/var at l_prefix@@l_prefix at .pid ]; then
-       kill `cat @l_prefix@/var at l_prefix@@l_prefix at .pid` 2>/dev/null
+    if [ -f @l_prefix@/var/kolab/kolab.pid ]; then
+       kill `cat @l_prefix@/var/kolab/kolab.pid` 2>/dev/null
     fi
     sleep 1
     killall -9 kolab 2>/dev/null
@@ -165,8 +165,8 @@
     fi 
 
     echo "reload kolab ..."
-    if [ -f @l_prefix@/var at l_prefix@@l_prefix at .pid ]; then
-      kill -HUP `cat @l_prefix@/var at l_prefix@@l_prefix at .pid` 2>/dev/null
+    if [ -f @l_prefix@/var/kolab/kolab.pid ]; then
+      kill -HUP `cat @l_prefix@/var/kolab/kolab.pid` 2>/dev/null
     fi 
 
 %restart -u root





More information about the devel mailing list