aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/osmo-trx-usrp1.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/osmo-trx-usrp1.service')
-rw-r--r--contrib/systemd/osmo-trx-usrp1.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-trx-usrp1.service b/contrib/systemd/osmo-trx-usrp1.service
index 2a662d3..401139e 100644
--- a/contrib/systemd/osmo-trx-usrp1.service
+++ b/contrib/systemd/osmo-trx-usrp1.service
@@ -8,6 +8,11 @@ StateDirectory=osmocom
WorkingDirectory=%S/osmocom
ExecStart=/usr/bin/osmo-trx-usrp1 -C /etc/osmocom/osmo-trx-usrp1.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