2018-09-06 10:32:16 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Osmocom osmo-bts for osmo-trx
|
2023-05-26 12:10:44 +00:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
2018-09-06 10:32:16 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2018-09-12 17:06:33 +00:00
|
|
|
ExecStart=/usr/bin/osmo-bts-trx -s -c /etc/osmocom/osmo-bts-trx.cfg
|
2022-09-09 13:46:33 +00:00
|
|
|
StateDirectory=osmocom
|
|
|
|
WorkingDirectory=%S/osmocom
|
2018-09-06 10:32:16 +00:00
|
|
|
Restart=always
|
|
|
|
RestartSec=2
|
|
|
|
|
2022-09-09 14:31:43 +00:00
|
|
|
# CPU scheduling policy:
|
2018-09-06 10:32:16 +00:00
|
|
|
CPUSchedulingPolicy=rr
|
2022-09-09 14:31:43 +00:00
|
|
|
# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
|
2022-11-06 12:48:56 +00:00
|
|
|
CPUSchedulingPriority=11
|
2022-09-09 14:31:43 +00:00
|
|
|
# See sched(7) for further details on real-time policies and priorities
|
2018-09-06 10:32:16 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|