]> git.proxmox.com Git - pmg-api.git/blame - debian/rules
add pmg-daily timer
[pmg-api.git] / debian / rules
CommitLineData
b68dfb61
DM
1#!/usr/bin/make -f
2# See debhelper(7) (uncomment to enable)
3# output every command that modifies files on the build system.
4#DH_VERBOSE = 1
5
6
7%:
972e1adf 8 dh $@ --with=systemd
b68dfb61 9
972e1adf
DM
10override_dh_installinit:
11 dh_systemd_enable --name=pmgdaemon pmgdaemon.service
0854fb22 12 dh_systemd_enable --name=pmgproxy pmgproxy.service
4a6182ab 13 dh_systemd_enable --name=pmg-smtp-filter pmg-smtp-filter.service
46e12d58 14 dh_systemd_enable --name=pmgpolicy pmgpolicy.service
ec5c426d 15 dh_systemd_enable --name=pmgnetcommit pmgnetcommit.service
461cb046 16 dh_systemd_enable --name=pmg-hourly pmg-hourly.service
d0d5b944 17 dh_systemd_enable --name=pmg-daily pmg-daily.service
0854fb22 18
e7f470e3 19override_dh_systemd_start:
d0d5b944 20 dh_systemd_start pmg-hourly.timer pmg-daily.timer
e7f470e3
DM
21 dh_systemd_start --no-restart-on-upgrade --no-start pmgnetcommit.service
22 dh_systemd_start pmgdaemon.service pmgproxy.service pmg-smtp-filter.service pmgpolicy.service
0854fb22
DM
23
24override_dh_fixperms:
25 dh_fixperms --exclude /var/log/pmgproxy