pmg-api/debian/rules

23 lines
740 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 $@ --with=systemd
override_dh_installinit:
dh_systemd_enable --name=pmgdaemon pmgdaemon.service
dh_systemd_enable --name=pmgproxy pmgproxy.service
dh_systemd_enable --name=pmg-smtp-filter pmg-smtp-filter.service
dh_systemd_enable --name=pmgpolicy pmgpolicy.service
dh_systemd_enable --name=pmgnetcommit pmgnetcommit.service
override_dh_systemd_start:
dh_systemd_start --no-restart-on-upgrade --no-start pmgnetcommit.service
dh_systemd_start pmgdaemon.service pmgproxy.service pmg-smtp-filter.service pmgpolicy.service
override_dh_fixperms:
dh_fixperms --exclude /var/log/pmgproxy