mirror of
https://git.proxmox.com/git/pmg-api
synced 2026-01-14 21:52:15 +00:00
23 lines
740 B
Makefile
Executable File
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
|