aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-06-19 10:29:41 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-06-19 11:05:04 +0200
commit7ed686b22358dab9d7e83179a71b86d4bcbf90f7 (patch)
tree1ee75c1b9d5f7c90ffe86dc1b0e7b43a3f226bbf
parent2ab6ddb0deb3d7d815bc657bf91bf65075d3eab4 (diff)
contrib: Add systemd services for all backends
-rw-r--r--contrib/systemd/osmo-trx-lms.service11
-rw-r--r--contrib/systemd/osmo-trx-uhd.service11
-rw-r--r--contrib/systemd/osmo-trx-usrp1.service11
l---------debian/osmo-trx-lms.service1
l---------debian/osmo-trx-uhd.service1
l---------debian/osmo-trx-usrp1.service1
6 files changed, 36 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-trx-lms.service b/contrib/systemd/osmo-trx-lms.service
new file mode 100644
index 0000000..df63e21
--- /dev/null
+++ b/contrib/systemd/osmo-trx-lms.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Osmocom SDR BTS L1 Transceiver (LimeSuite backend)
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/osmo-trx-lms -C /etc/osmocom/osmo-trx-lms.cfg
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target
diff --git a/contrib/systemd/osmo-trx-uhd.service b/contrib/systemd/osmo-trx-uhd.service
new file mode 100644
index 0000000..ba27f37
--- /dev/null
+++ b/contrib/systemd/osmo-trx-uhd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Osmocom SDR BTS L1 Transceiver (UHD Backend)
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/osmo-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target
diff --git a/contrib/systemd/osmo-trx-usrp1.service b/contrib/systemd/osmo-trx-usrp1.service
new file mode 100644
index 0000000..fbff631
--- /dev/null
+++ b/contrib/systemd/osmo-trx-usrp1.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Osmocom SDR BTS L1 Transceiver (libusrp backend)
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/osmo-trx-usrp1 -C /etc/osmocom/osmo-trx-usrp1.cfg
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target
diff --git a/debian/osmo-trx-lms.service b/debian/osmo-trx-lms.service
new file mode 120000
index 0000000..d2d697a
--- /dev/null
+++ b/debian/osmo-trx-lms.service
@@ -0,0 +1 @@
+../contrib/systemd/osmo-trx-lms.service \ No newline at end of file
diff --git a/debian/osmo-trx-uhd.service b/debian/osmo-trx-uhd.service
new file mode 120000
index 0000000..c67648f
--- /dev/null
+++ b/debian/osmo-trx-uhd.service
@@ -0,0 +1 @@
+../contrib/systemd/osmo-trx-uhd.service \ No newline at end of file
diff --git a/debian/osmo-trx-usrp1.service b/debian/osmo-trx-usrp1.service
new file mode 120000
index 0000000..a7b33ad
--- /dev/null
+++ b/debian/osmo-trx-usrp1.service
@@ -0,0 +1 @@
+../contrib/systemd/osmo-trx-usrp1.service \ No newline at end of file