diff options
Diffstat (limited to 'contrib/systemd/osmo-pcu.service')
-rw-r--r-- | contrib/systemd/osmo-pcu.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-pcu.service b/contrib/systemd/osmo-pcu.service new file mode 100644 index 00000000..6329d31e --- /dev/null +++ b/contrib/systemd/osmo-pcu.service @@ -0,0 +1,16 @@ +[Unit] +Description=Osmocom osmo-pcu + +[Service] +Type=simple +ExecStart=/usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg +Restart=always +RestartSec=2 +RestartPreventExitStatus=1 + +# The msg queues must be read fast enough +CPUSchedulingPolicy=rr +CPUSchedulingPriority=1 + +[Install] +WantedBy=multi-user.target |