debian: Restart daemons only after upgrade is complete.
authorBen Pfaff <blp@nicira.com>
Mon, 14 Mar 2011 22:13:49 +0000 (15:13 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 14 Mar 2011 22:14:05 +0000 (15:14 -0700)
This yields less downtime during an upgrade and allows an SSH session or
other network access to dpkg to continue during the upgrade to, e.g.,
answer questions about conffiles from dpkg.  (Open vSwitch doesn't have
any conffiles but other packages being upgraded in the same dpkg run
might.)

Bug #542.

debian/rules

index de79800..6806980 100755 (executable)
@@ -101,7 +101,7 @@ binary-common:
        dh_installexamples
        dh_installdebconf
        dh_installlogrotate
-       dh_installinit
+       dh_installinit -R
        dh_installcron
        dh_installman
        dh_link