aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/osmo-trx-uhd.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/osmo-trx-uhd.service')
-rw-r--r--contrib/systemd/osmo-trx-uhd.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-trx-uhd.service b/contrib/systemd/osmo-trx-uhd.service
index aaf5e8c..f78888c 100644
--- a/contrib/systemd/osmo-trx-uhd.service
+++ b/contrib/systemd/osmo-trx-uhd.service
@@ -8,6 +8,11 @@ StateDirectory=osmocom
WorkingDirectory=%S/osmocom
ExecStart=/usr/bin/osmo-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg
RestartSec=2
+# CPU scheduling policy:
+CPUSchedulingPolicy=rr
+# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
+CPUSchedulingPriority=21
+# See sched(7) for further details on real-time policies and priorities
[Install]
WantedBy=multi-user.target