diff options
Diffstat (limited to 'contrib/systemd/osmo-bts-oc2g.service')
-rw-r--r-- | contrib/systemd/osmo-bts-oc2g.service | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/contrib/systemd/osmo-bts-oc2g.service b/contrib/systemd/osmo-bts-oc2g.service index 860aeb1f..bc64a54c 100644 --- a/contrib/systemd/osmo-bts-oc2g.service +++ b/contrib/systemd/osmo-bts-oc2g.service @@ -1,17 +1,22 @@ [Unit] Description=osmo-bts for OC-2G +After=network-online.target +Wants=network-online.target [Service] Type=simple ExecStart=/usr/bin/osmo-bts-oc2g -s -c /etc/osmocom/osmo-bts-oc2g.cfg -M +StateDirectory=osmocom +WorkingDirectory=%S/osmocom RuntimeDirectory=osmo-bts Restart=always RestartSec=2 -RestartPreventExitStatus=1 -# The msg queues must be read fast enough +# CPU scheduling policy: CPUSchedulingPolicy=rr -CPUSchedulingPriority=1 +# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority): +CPUSchedulingPriority=11 +# See sched(7) for further details on real-time policies and priorities [Install] WantedBy=multi-user.target |