aboutsummaryrefslogtreecommitdiffstats
path: root/debian/osmo-bts-virtual.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/osmo-bts-virtual.service')
-rw-r--r--debian/osmo-bts-virtual.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/osmo-bts-virtual.service b/debian/osmo-bts-virtual.service
new file mode 100644
index 00000000..16332669
--- /dev/null
+++ b/debian/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