nlsr: Add systemd startup scripts
refs #2810
Change-Id: I8aa587094c353419655b0ed629d2c1172a5bfb80
diff --git a/nlsr/debian/rules b/nlsr/debian/rules
index 23a8078..9cb89e5 100755
--- a/nlsr/debian/rules
+++ b/nlsr/debian/rules
@@ -14,7 +14,7 @@
CXXFLAGS += -std=c++11
%:
- dh $@ --parallel
+ dh $@ --parallel --with=systemd
override_dh_auto_configure:
CXXFLAGS="$(CXXFLAGS)" LINKFLAGS="$(LDFLAGS)" ./waf configure --prefix=/usr
@@ -38,3 +38,9 @@
rm -f docs/*.pyc
override_dh_auto_test:
+
+override_dh_systemd_enable:
+ dh_systemd_enable --no-enable
+
+override_dh_systemd_start:
+ dh_systemd_start --no-start