aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-10 10:40:22 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-10 17:18:17 +0200
commit8c481d2825e1135912b5b0f5ae930d8a8cf67385 (patch)
treeac75dcf61c7e6cb1235a139f5033777e09b355ae /debian
parentc8143eccc2841781af2f09f31222fcc634114bd5 (diff)
Install systemd services with autotools
This commit re-adds ba3da6d72564bb2c60f4f4a8d641b8a7b86d1f59, plus fixes two typos (sytemd->systemd) in that commit. The commit is fine, we just need to add some extra configure flags in osmo-ci.git. Depends: https://gerrit.osmocom.org/#/c/osmo-ci/+/10857/ Change-Id: Ifc11d97c0c5fe1f7872b59147b1548b56951921b
Diffstat (limited to 'debian')
-rw-r--r--debian/osmo-stp.install1
l---------debian/osmo-stp.service1
-rwxr-xr-xdebian/rules2
3 files changed, 2 insertions, 2 deletions
diff --git a/debian/osmo-stp.install b/debian/osmo-stp.install
index b2f8077..839735c 100644
--- a/debian/osmo-stp.install
+++ b/debian/osmo-stp.install
@@ -1,2 +1,3 @@
+/lib/systemd/system/osmo-stp.service
/usr/bin/osmo-stp
/usr/share/doc/libosmo-sccp/examples/osmo-stp/osmo-stp.cfg
diff --git a/debian/osmo-stp.service b/debian/osmo-stp.service
deleted file mode 120000
index 55f37c2..0000000
--- a/debian/osmo-stp.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-stp.service \ No newline at end of file
diff --git a/debian/rules b/debian/rules
index bea0a76..ec5c21c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ override_dh_auto_test:
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
override_dh_auto_configure:
- dh_auto_configure -- --enable-static
+ dh_auto_configure -- --enable-static --with-systemdsystemunitdir=/lib/systemd/system
# Print test results in case of a failure
override_dh_auto_test: