1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3 Date: Wed, 20 May 2021 15:36:34 +0200
4 Subject: [PATCH] d/rules: also add --no-restart-after-upgrade parameter
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 is only a problem with dh compat >= 10 as that enables the
10 restart-after-upgrade by default.
12 Keep the old --no-restart-on-upgrade one as else debian may just
13 think we want the restart but as full stop in prerm and start only in
16 For ceph we actually want to let the user fully control the restart
19 Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
22 1 file changed, 3 insertions(+)
24 diff --git a/debian/rules b/debian/rules
25 index b5ce42c6f3..00e9ac6b16 100755
28 @@ -104,7 +104,7 @@ override_dh_installinit:
30 # NOTE: execute systemd helpers so they pickup dh_install'ed units and targets
32 - dh_systemd_start --no-restart-on-upgrade
33 + dh_systemd_start --no-restart-on-upgrade --no-restart-after-upgrade
35 override_dh_systemd_enable:
36 # systemd enable done as part of dh_installinit