21 lines
536 B
SYSTEMD
21 lines
536 B
SYSTEMD
[Unit]
|
|
Description=Osmocom osmo-pcu
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg
|
|
StateDirectory=osmocom
|
|
WorkingDirectory=%S/osmocom
|
|
Restart=always
|
|
RestartSec=2
|
|
# CPU scheduling policy:
|
|
CPUSchedulingPolicy=rr
|
|
# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
|
|
CPUSchedulingPriority=20
|
|
# See sched(7) for further details on real-time policies and priorities
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|