5
0
mirror of git://git.proxmox.com/git/pve-firewall.git synced 2025-01-21 22:03:52 +03:00
Thomas Lamprecht efd9bf26c5 d/rules: fix pvefw-logger service unit-name
debhelpers on stretch do not care about the wrong uinit name, and the
name used is always the one from --name.
But buster cares, so fix it to the right one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-04 09:51:54 +02:00

18 lines
437 B
Makefile
Executable File

#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@ --with systemd
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
override_dh_installinit: