diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-10 13:28:25 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-10 16:09:54 +0200 |
commit | 516697e29a090c0137c49c66731b5d93125e8f7e (patch) | |
tree | 5b764bb49994e45fa05cc4139a5aa9116318f0c7 /contrib/systemd/osmo-pcu.service | |
parent | 3e9c071aa66d2a7f7465c4cac229f205d2dbecdd (diff) |
Install systemd services with autotools
Change-Id: Ie4c7e81495181059d1dff1c194d52d11fb72ed03
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 |