aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/osmo-bts-trx.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/osmo-bts-trx.service')
-rw-r--r--contrib/systemd/osmo-bts-trx.service15
1 files changed, 15 insertions, 0 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