aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 42e657aa944920601d647961730f8fcb305de4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_VERBOSE=1

export PYBUILD_DISABLE=test

%:
	dh $@ --with=python3,systemd --buildsystem=pybuild

override_dh_systemd_enable:
	dh_systemd_enable prometheus-haproxy-log-exporter.service

override_dh_systemd_start:
	dh_systemd_start --restart-after-upgrade prometheus-haproxy-log-exporter.service