* call db_stop to avoid waiting endlessly for the deamon
authorWilfried Göesgens <willi@citadel.org>
Tue, 26 Dec 2006 09:55:23 +0000 (09:55 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 26 Dec 2006 09:55:23 +0000 (09:55 +0000)
citadel/debian/citadel-server.postinst

index 9c2e09c9728ff358f66380fd4596d83118c97fce..d9cb9422b4d9a808a9d24bbe20f1f938b2125d88 100644 (file)
@@ -131,7 +131,6 @@ case "$1" in
     ### find out what the user answered.
     #  db_get foo/run_on_boot
     #  run_on_boot=$RET
-    #  db_stop
 
     ### safely create a temporary file to generate our suggested
     ### configuration file.
@@ -184,9 +183,9 @@ case "$1" in
            sleep 1
        done
 
-       update-rc.d citadel defaults >/dev/null
-#      /etc/init.d/citadel start
-       echo "run /etc/init.d/citadel start to start citadel service."
+       db_stop
+       
+       #DEBHELPER#
     #### There are three sub-cases:
     ###if test "${2+set}" != set; then
     ###  # We're being installed by an ancient dpkg which doesn't remember