tags 605507 + patch
thanks

Hi,

Here is third try.
Would you please try it?

diff -u icecast2-2.3.2/debian/icecast2.init icecast2-2.3.2/debian/icecast2.init
--- icecast2-2.3.2/debian/icecast2.init 2010-12-06 18:48:19.000000000 +0900
+++ icecast2-2.3.2/debian/icecast2.init 2010-12-06 18:38:24.000000000 +0900
@@ -51,7 +51,8 @@
        ;;
   stop)
        echo -n "Stopping $DESC: "
-       start-stop-daemon --stop --oknodo --quiet --exec $DAEMON
+       # Send TERM after 5 seconds, wait at most 30 seconds.
+       start-stop-daemon --stop --oknodo --retry TERM/5/0/30 --quiet --exec 
$DAEMON
        echo "$NAME."
        ;;
   reload|force-reload)
diff -u icecast2-2.3.2/debian/icecast2.postinst 
icecast2-2.3.2/debian/icecast2.postinst
--- icecast2-2.3.2/debian/icecast2.postinst     2010-12-06 18:48:19.000000000 
+0900
+++ icecast2-2.3.2/debian/icecast2.postinst     2010-12-06 18:52:07.000000000 
+0900
@@ -45,6 +45,9 @@
 # Tightened permissions for the config file
 chmod -R ug=rw,o=,ug+X /etc/icecast2/icecast.xml
 
+# avoid to fail on invoke-rc.d icecast2 start when upgrading see Bug#605507
+sleep 3
+
 #DEBHELPER#
 
 exit 0

-- 
Regards,
        dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E

Attachment: signature.asc
Description: Digital signature

Reply via email to