aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-06 12:32:16 +0200
committerHarald Welte <laforge@gnumonks.org>2018-09-06 14:25:59 +0000
commitcfc052743ba937fb47817af0eb5bc387447db2f8 (patch)
tree62ab73c7806abc3878dc455b538135e314226478
parent0b6c1762c50ce890fa97691ab2de3283bb7d1819 (diff)
Move systemd service to contrib/systemd
Move it there and have only a symlink in debian/, like we do in all other projects. Change-Id: I213d3816a66e88069c31f85b3fbf462d1222aa43
-rw-r--r--contrib/systemd/osmo-bts-trx.service15
-rw-r--r--contrib/systemd/osmo-bts-virtual.service15
l---------[-rw-r--r--]debian/osmo-bts-trx.service16
l---------[-rw-r--r--]debian/osmo-bts-virtual.service16
4 files changed, 32 insertions, 30 deletions
diff --git a/contrib/systemd/osmo-bts-trx.service b/contrib/systemd/osmo-bts-trx.service
new file mode 100644
index 00000000..cea8719c
--- /dev/null
+++ b/contrib/systemd/osmo-bts-trx.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Osmocom osmo-bts for osmo-trx
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/osmo-bts-trx -s -c /etc/osmocom/osmo-bts.cfg
+Restart=always
+RestartSec=2
+
+# Let it process messages quickly enough
+CPUSchedulingPolicy=rr
+CPUSchedulingPriority=1
+
+[Install]
+WantedBy=multi-user.target
diff --git a/contrib/systemd/osmo-bts-virtual.service b/contrib/systemd/osmo-bts-virtual.service
new file mode 100644
index 00000000..16332669
--- /dev/null
+++ b/contrib/systemd/osmo-bts-virtual.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Osmocom GSM BTS for virtual Um layer based on GSMTAP/UDP
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/osmo-bts-virtual -s -c /etc/osmocom/osmo-bts-virtual.cfg
+Restart=always
+RestartSec=2
+
+# Let it process messages quickly enough
+CPUSchedulingPolicy=rr
+CPUSchedulingPriority=1
+
+[Install]
+WantedBy=multi-user.target
diff --git a/debian/osmo-bts-trx.service b/debian/osmo-bts-trx.service
index cea8719c..1abb0cea 100644..120000
--- a/debian/osmo-bts-trx.service
+++ b/debian/osmo-bts-trx.service
@@ -1,15 +1 @@
-[Unit]
-Description=Osmocom osmo-bts for osmo-trx
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/osmo-bts-trx -s -c /etc/osmocom/osmo-bts.cfg
-Restart=always
-RestartSec=2
-
-# Let it process messages quickly enough
-CPUSchedulingPolicy=rr
-CPUSchedulingPriority=1
-
-[Install]
-WantedBy=multi-user.target
+../contrib/systemd/osmo-bts-trx.service \ No newline at end of file
diff --git a/debian/osmo-bts-virtual.service b/debian/osmo-bts-virtual.service
index 16332669..9a660b44 100644..120000
--- a/debian/osmo-bts-virtual.service
+++ b/debian/osmo-bts-virtual.service
@@ -1,15 +1 @@
-[Unit]
-Description=Osmocom GSM BTS for virtual Um layer based on GSMTAP/UDP
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/osmo-bts-virtual -s -c /etc/osmocom/osmo-bts-virtual.cfg
-Restart=always
-RestartSec=2
-
-# Let it process messages quickly enough
-CPUSchedulingPolicy=rr
-CPUSchedulingPriority=1
-
-[Install]
-WantedBy=multi-user.target
+../contrib/systemd/osmo-bts-virtual.service \ No newline at end of file