[pve-devel] [PATCH lxc] use --no-restart-on-upgrade for	dh_systemd_start
    Wolfgang Bumiller 
    w.bumiller at proxmox.com
       
    Thu Jan 14 15:53:56 CET 2016
    
    
  
Otherise the lxc.service is restarted when upgrading the
package causing all containers to be stopped.
Note that this affects the 'prerm' portion of the package so
upgrading from an older package to this one still performs
the old version's stop action.
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 893ed6d..236a1f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,4 +36,5 @@ override_dh_install:
 
 	dh_install --fail-missing
 
-
+override_dh_systemd_start:
+	dh_systemd_start --no-restart-on-upgrade
-- 
2.1.4
    
    
More information about the pve-devel
mailing list