aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-10 13:28:25 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-10 16:09:54 +0200
commit516697e29a090c0137c49c66731b5d93125e8f7e (patch)
tree5b764bb49994e45fa05cc4139a5aa9116318f0c7 /debian
parent3e9c071aa66d2a7f7465c4cac229f205d2dbecdd (diff)
Install systemd services with autotools
Diffstat (limited to 'debian')
-rw-r--r--debian/osmo-pcu.install1
l---------debian/osmo-pcu.service1
-rwxr-xr-xdebian/rules3
3 files changed, 4 insertions, 1 deletions
diff --git a/debian/osmo-pcu.install b/debian/osmo-pcu.install
index 80316ee0..1b82e961 100644
--- a/debian/osmo-pcu.install
+++ b/debian/osmo-pcu.install
@@ -1,4 +1,5 @@
etc/osmocom/osmo-pcu.cfg
+lib/systemd/system/osmo-pcu.service
usr/bin/osmo-pcu
usr/include/osmocom/pcu/pcuif_proto.h
usr/lib/*/pkgconfig/osmo-pcu.pc
diff --git a/debian/osmo-pcu.service b/debian/osmo-pcu.service
deleted file mode 120000
index f0774312..00000000
--- a/debian/osmo-pcu.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/osmo-pcu.service \ No newline at end of file
diff --git a/debian/rules b/debian/rules
index cffb6ca0..712dd756 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,3 +22,6 @@ override_dh_clean:
# Print test results in case of a failure
override_dh_auto_test:
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
+
+override_dh_auto_configure:
+ dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system