aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-10 13:18:13 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-12 14:16:49 +0200
commit65d3cc77539c565215e067ff5447f6d1cbab21e4 (patch)
treee55b6c5a99a25c5f0981fdb8c24fc072da4bf04e /debian
parent17577b7c00d4748d318034ca2babe54b8b8f769d (diff)
Install systemd services with autotools
Diffstat (limited to 'debian')
-rw-r--r--debian/osmo-bts-trx.install1
l---------debian/osmo-bts-trx.service1
-rw-r--r--debian/osmo-bts-virtual.install1
l---------debian/osmo-bts-virtual.service1
-rwxr-xr-xdebian/rules2
5 files changed, 3 insertions, 3 deletions
diff --git a/debian/osmo-bts-trx.install b/debian/osmo-bts-trx.install
index e821cb46..2343d254 100644
--- a/debian/osmo-bts-trx.install
+++ b/debian/osmo-bts-trx.install
@@ -1,3 +1,4 @@
+lib/systemd/system/osmo-bts-trx.service
usr/bin/osmo-bts-trx
usr/share/doc/osmo-bts/examples/osmo-bts-trx/osmo-bts.cfg
usr/share/doc/osmo-bts/examples/osmo-bts-trx/osmo-bts-trx-calypso.cfg
diff --git a/debian/osmo-bts-trx.service b/debian/osmo-bts-trx.service
deleted file mode 120000
index 1abb0cea..00000000
--- a/debian/osmo-bts-trx.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-bts-trx.service \ No newline at end of file
diff --git a/debian/osmo-bts-virtual.install b/debian/osmo-bts-virtual.install
index 3815d7c0..0e6ca1b2 100644
--- a/debian/osmo-bts-virtual.install
+++ b/debian/osmo-bts-virtual.install
@@ -1,3 +1,4 @@
+lib/systemd/system/osmo-bts-virtual.service
usr/bin/osmo-bts-virtual
usr/bin/osmo-bts-omldummy
usr/share/doc/osmo-bts/examples/osmo-bts-virtual/osmobts-virtual.cfg
diff --git a/debian/osmo-bts-virtual.service b/debian/osmo-bts-virtual.service
deleted file mode 120000
index 9a660b44..00000000
--- a/debian/osmo-bts-virtual.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-bts-virtual.service \ No newline at end of file
diff --git a/debian/rules b/debian/rules
index dcc8a11a..27de11b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ override_dh_strip:
dh_strip --package=osmo-bts-trx --dbg-package=osmo-bts-trx-dbg
override_dh_auto_configure:
- dh_auto_configure -- --enable-trx
+ dh_auto_configure -- --enable-trx --with-systemdsystemunitdir=/lib/systemd/system
override_dh_clean:
dh_clean