diff options
author | Christopher Baines <chris@lucida.cbaines.net> | 2015-12-24 10:59:02 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2016-02-23 23:00:55 +0000 |
commit | 5bcf65dcff75a01a90b688626d97735372b594e2 (patch) | |
tree | 617016a92505090cc830ae8844169933a06ff56e /debian/rules | |
download | prometheus-haproxy-log-exporter-5bcf65dcff75a01a90b688626d97735372b594e2.tar prometheus-haproxy-log-exporter-5bcf65dcff75a01a90b688626d97735372b594e2.tar.gz |
Initial commit
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..42e657a --- /dev/null +++ b/debian/rules @@ -0,0 +1,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 |