aboutsummaryrefslogtreecommitdiffstats
path: root/debian/osmo-bts-trx.service
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-04-01 16:46:42 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-04-01 17:01:54 +0200
commit460e1b7387ded53bd2ba320d3108196dc7100d40 (patch)
tree209fc698d2c277c6142484268bae920ea86d227a /debian/osmo-bts-trx.service
parent21fc6e45fbe201dcc6c066a006cef899e931064a (diff)
debian: Create initial packaging for the osmo-bts-trx
This is only with osmo-bts-trx as others require headers that are not packaged yet.
Diffstat (limited to 'debian/osmo-bts-trx.service')
-rw-r--r--debian/osmo-bts-trx.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/osmo-bts-trx.service b/debian/osmo-bts-trx.service
new file mode 100644
index 00000000..cea8719c
--- /dev/null
+++ b/debian/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