summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-05-15 00:25:36 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-05-15 00:25:36 (GMT)
commit69d7dfd7bf2b42391f827b81bd0041a0339830cc (patch)
tree351303e55a3f28a9ac3b401f93190000acfb58eb /debian/rules
parent87bfb0cc66d08751dd3c3104006b27ebe9fb5646 (diff)
nopsyncd systemd unit is now a template
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules11
1 files changed, 7 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 35cc3c8..3de13ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,10 @@ override_dh_auto_configure:
dh_auto_configure -- --ebuild-compat
override_dh_systemd_enable:
- dh_systemd_enable --name=nopfetchd nopfetchd.service
- dh_systemd_enable --name=nopsysstated nopsysstated.service
- dh_systemd_enable --name=nopsyncd-master nopsyncd-master.service
- dh_systemd_enable --name=nopsyncd-standby nopsyncd-standby.service
+ dh_systemd_enable -prhnop-server --no-enable --name=nopfetchd nopfetchd.service
+ dh_systemd_enable -prhnop-client --no-enable --name=nopsysstated nopsysstated.service
+ dh_systemd_enable -prhnop-client --no-enable --name=nopsyncd@ nopsyncd@.service
+
+override_dh_systemd_start:
+ dh_systemd_start -prhnop-server --no-start nopfetchd.service
+ dh_systemd_start -prhnop-client --no-start nopsysstated.service