summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 83b194e..e09f048 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,12 @@
#!/usr/bin/make -f
%:
- dh $@ --sourcedirectory=src
+ dh $@ --with=systemd --sourcedirectory=src
override_dh_auto_configure:
dh_auto_configure -- --ebuild-compat
+
+override_dh_systemd_enable:
+ dh_systemd_enable --name=nopsyncd nopsyncd.service
+ dh_systemd_enable --name=nopsysstated nopsysstated.service
+ dh_systemd_enable --name=nopcollectd-master nopcollectd-master.service
+ dh_systemd_enable --name=nopcollectd-standby nopcollectd-standby.service