From c92b964e2dec76397329e9005ca277466867cbc6 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 17 Dec 2013 18:37:45 +0100 Subject: [PATCH] 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 --- contrib/sysmopcu.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 contrib/sysmopcu.service diff --git a/contrib/sysmopcu.service b/contrib/sysmopcu.service new file mode 100644 index 00000000..11e3c8c1 --- /dev/null +++ b/contrib/sysmopcu.service @@ -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