5
0
mirror of git://git.proxmox.com/git/pve-firewall.git synced 2025-01-07 21:17:59 +03:00

d/rules: cleanup systemd overrides

both, `override_dh_systemd_enable` and `override_dh_systemd_start`
are ignored with current compat level 12, and will become an error in
level >= 13, so drop them and use `override_dh_installsystemd` for
both of the previous uses.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-24 11:15:50 +02:00
parent ce9cfab89a
commit 3cab23d0eb

10
debian/rules vendored
View File

@ -8,14 +8,6 @@
override_dh_installsystemd:
dh_installsystemd --name pvefw-logger pvefw-logger.service
dh_installsystemd --name pve-firewall pve-firewall.service
override_dh_systemd_enable:
dh_systemd_enable --name pvefw-logger pvefw-logger.service
dh_systemd_enable --name pve-firewall pve-firewall.service
override_dh_systemd_start:
dh_systemd_start --restart-after-upgrade pvefw-logger.service
# pve-firewall start/try-reload-restart manually in postinst
dh_installsystemd --name pve-firewall --no-stop-on-upgrade --no-restart-after-upgrade pve-firewall.service
override_dh_installinit: