diff options
Diffstat (limited to 'contrib/systemd/osmo-bts-lc15.service')
-rw-r--r-- | contrib/systemd/osmo-bts-lc15.service | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/contrib/systemd/osmo-bts-lc15.service b/contrib/systemd/osmo-bts-lc15.service index 7c511100..03341bd3 100644 --- a/contrib/systemd/osmo-bts-lc15.service +++ b/contrib/systemd/osmo-bts-lc15.service @@ -1,17 +1,22 @@ [Unit] Description=osmo-bts for LC15 / sysmoBTS 2100 +After=network-online.target +Wants=network-online.target [Service] Type=simple ExecStart=/usr/bin/osmo-bts-lc15 -t 2 -s -c /etc/osmocom/osmo-bts-lc15.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 |