[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r4018 - in glibc-package/trunk/debian: . debhelper.in



Author: aurel32
Date: 2009-11-25 05:52:13 +0000 (Wed, 25 Nov 2009)
New Revision: 4018

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/debhelper.in/libc.postinst
Log:
  * debhelper.in/libc.postinst: restart the services instead of stopping
    them and then starting them again.  Closes: #211784.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-11-24 19:48:05 UTC (rev 4017)
+++ glibc-package/trunk/debian/changelog	2009-11-25 05:52:13 UTC (rev 4018)
@@ -2,6 +2,8 @@
 
   * debhelper.in/libc.postinst: also restart incron on upgrade.  Closes:
     #557801.
+  * debhelper.in/libc.postinst: restart the services instead of stopping
+    them and then starting them again.  Closes: #211784.
 
  -- Aurelien Jarno <aurel32@debian.org>  Tue, 24 Nov 2009 16:09:58 +0100
 

Modified: glibc-package/trunk/debian/debhelper.in/libc.postinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.postinst	2009-11-24 19:48:05 UTC (rev 4017)
+++ glibc-package/trunk/debian/debhelper.in/libc.postinst	2009-11-25 05:52:13 UTC (rev 4018)
@@ -167,11 +167,8 @@
 				fi
 				;;
 			    *)
-				echo -n "  $service: stopping..."
-				$idl stop > /dev/null 2>&1 || true
-				sleep 2
-				echo -n "starting..."
-				if $idl start > /dev/null 2>&1; then
+				echo -n "  $service: restarting..."
+				if $idl restart > /dev/null 2>&1; then
 				    echo "done."
 				else
 				    echo "FAILED! ($?)"


Reply to: