aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-06 15:06:20 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-06 15:06:22 +0200
commite63c72acfb7eafd3da46dce7884f1b6c2a974986 (patch)
treecbaf18563ba091cbfe93c26945aa4be381c087c0 /debian
parent54af2dba78c79bf61721a0b454d0e651f99133b7 (diff)
Cleanup of systemd service files
Let's use a symlink in debian/ as we do in other projects, and merge the two service files since anyway they call the same binary. Change-Id: Ibd82ec12cbeb73a27ca5860266587efb58be14ab
Diffstat (limited to 'debian')
l---------[-rw-r--r--]debian/osmo-pcu.service16
1 files changed, 1 insertions, 15 deletions
diff --git a/debian/osmo-pcu.service b/debian/osmo-pcu.service
index 850a7153..f0774312 100644..120000
--- a/debian/osmo-pcu.service
+++ b/debian/osmo-pcu.service
@@ -1,15 +1 @@
-[Unit]
-Description=Osmocom osmo-pcu
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg
-Restart=always
-RestartSec=2
-
-# Read quickly enough
-CPUSchedulingPolicy=rr
-CPUSchedulingPriority=1
-
-[Install]
-WantedBy=multi-user.target
+../contrib/osmo-pcu.service \ No newline at end of file