[Pkg-citadel-commit] r242 - citadel/trunk/debian

meskes at alioth.debian.org meskes at alioth.debian.org
Sun Mar 1 20:01:13 UTC 2009


Author: meskes
Date: 2009-03-01 20:01:13 +0000 (Sun, 01 Mar 2009)
New Revision: 242

Modified:
   citadel/trunk/debian/citadel-server.postinst
Log:
copy/paste error resulting in wrong command order


Modified: citadel/trunk/debian/citadel-server.postinst
===================================================================
--- citadel/trunk/debian/citadel-server.postinst	2009-03-01 13:33:09 UTC (rev 241)
+++ citadel/trunk/debian/citadel-server.postinst	2009-03-01 20:01:13 UTC (rev 242)
@@ -19,14 +19,6 @@
         chown -R citadel:citadel /etc/citadel
         chown -R citadel:citadel /var/lib/citadel /var/spool/citadel
 
-        if test -S /var/run/citadel/citadel.socket; then 
-            sendcommand "DOWN"
-        fi
-
-        while test -S /var/run/citadel/citadel.socket; do 
-            sleep 1
-        done
-
 	move_file /var/run/refcount_adjustments.dat /etc/citadel/data/refcount_adjustments.dat
 	move_file /etc/citadel/citadel.control /var/lib/citadel/data/citadel.control
 	move_file /etc/citadel/citadel.config /var/lib/citadel/data/citadel.config
@@ -77,6 +69,14 @@
             fi
 	fi
 
+        if test -S /var/run/citadel/citadel.socket; then 
+            sendcommand "DOWN"
+        fi
+
+        while test -S /var/run/citadel/citadel.socket; do 
+            sleep 1
+        done
+
         db_stop
     ;;
 




More information about the Pkg-citadel-commit mailing list