From 7ed686b22358dab9d7e83179a71b86d4bcbf90f7 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 19 Jun 2018 10:29:41 +0200 Subject: contrib: Add systemd services for all backends Change-Id: I38a7ff7b9dafc3d6aa0426777036e3d7666045a7 --- contrib/systemd/osmo-trx-lms.service | 11 +++++++++++ contrib/systemd/osmo-trx-uhd.service | 11 +++++++++++ contrib/systemd/osmo-trx-usrp1.service | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 contrib/systemd/osmo-trx-lms.service create mode 100644 contrib/systemd/osmo-trx-uhd.service create mode 100644 contrib/systemd/osmo-trx-usrp1.service (limited to 'contrib') 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 -- cgit v1.2.3