systemd: Add a service for the sysmopcu

Provide a systemd service file for sysmopcu, leaves
the bundled combined sysvinit for sysmobts and sysmopcu
for legacy systems.

Sponsored-by: sysmocom
This commit is contained in:
Henning Heinold 2013-12-17 18:37:45 +01:00 committed by Holger Hans Peter Freyther
parent b3a87ced5a
commit c92b964e2d
1 changed files with 15 additions and 0 deletions

15
contrib/sysmopcu.service Normal file
View File

@ -0,0 +1,15 @@
[Unit]
Description=sysmocom sysmoPCU
[Service]
Type=simple
ExecStart=/usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg
Restart=always
RestartSec=5
# The msg queues must be read fast enough
CPUSchedulingPolicy=rr
CPUSchedulingPriority=1
[Install]
WantedBy=multi-user.target