aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-10 12:55:00 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-10 16:10:06 +0200
commitf282f333601a250bcf9397a92aab1e3dc6e28100 (patch)
tree5b3e25b798e24a4e2c47dba921a829bb4d3f66b7 /debian
parent36115c9d9aa3efa8b98d75632d08510ff368b38c (diff)
Install systemd services with autotools
Diffstat (limited to 'debian')
-rw-r--r--debian/osmo-msc.install1
l---------debian/osmo-msc.service1
-rwxr-xr-xdebian/rules4
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/osmo-msc.install b/debian/osmo-msc.install
index 6b84b8f14..1e7f22f2a 100644
--- a/debian/osmo-msc.install
+++ b/debian/osmo-msc.install
@@ -1,3 +1,4 @@
+lib/systemd/system/osmo-msc.service
usr/bin/osmo-msc
usr/share/doc/osmo-msc/examples/osmo-msc/osmo-msc.cfg usr/share/doc/osmo-msc/examples
usr/share/doc/osmo-msc/examples/osmo-msc/osmo-msc_custom-sccp.cfg usr/share/doc/osmo-msc/examples
diff --git a/debian/osmo-msc.service b/debian/osmo-msc.service
deleted file mode 120000
index 784b8b51d..000000000
--- a/debian/osmo-msc.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-msc.service \ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 15e79dae4..1cf3a355e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,11 +42,11 @@
# main packaging script based on dh7 syntax
%:
- dh $@ --with autoreconf
+ dh $@ --with autoreconf
# debmake generated override targets
# Set options for ./configure
-CONFIGURE_FLAGS += --enable-iu --enable-smpp
+CONFIGURE_FLAGS += --enable-iu --enable-smpp --with-systemdsystemunitdir=/lib/systemd/system
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_FLAGS)
#