[pve-devel] [PATCH V2 frr 06/10] d/rules: delay restart on upgrade
Alexandre Derumier
aderumier at odiso.com
Tue Jul 10 18:01:28 CEST 2018
---
debian/rules | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 9c84c06..e5b91f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -197,11 +197,14 @@ endif
sed -i "/dependency_libs/ s/'.*'/''/" debian/tmp/usr/lib/*.la
sed -i "/dependency_libs/ s/'.*'/''/" debian/tmp/usr/lib/frr/modules/*.la
+override_dh_install_init:
+ dh_installinit --restart-after-upgrade
+
override_dh_systemd_start:
dh_systemd_start frr.service
override_dh_systemd_enable:
- dh_systemd_enable frr.service
+ dh_systemd_enable --restart-after-upgrade frr.service
# backports
SRCPKG = frr
--
2.11.0
More information about the pve-devel
mailing list