pmg-api/debian/rules
Stoiko Ivanov 431b78b9d8 buildsys: bump d/compat to 12 and adapt d/rules
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-05-31 15:33:18 +00:00

33 lines
897 B
Makefile
Executable File

#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
%:
dh $@
override_dh_installsystemd:
dh_installsystemd --no-start \
pmg-hourly.service \
pmg-daily.service \
pmgspamreport.service \
pmgreport.service \
pmgnetcommit.service \
pmgbanner.service \
pmgsync.service
dh_installsystemd \
pmg-smtp-filter.service \
pmgpolicy.service \
pmgtunnel.service \
pmgmirror.service \
pmg-hourly.timer \
pmg-daily.timer \
pmgspamreport.timer \
pmgreport.timer
dh_installsystemd --no-enable --name=pmg-pbsbackup@ pmg-pbsbackup@.service
# we handle pmgproxy/pmgdaemon manually (use reload instead of restart to keep vnc connection active)
dh_installsystemd --no-start --no-stop-on-upgrade pmgdaemon.service pmgproxy.service
override_dh_fixperms:
dh_fixperms --exclude /var/log/pmgproxy