diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-06 15:06:20 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-06 15:06:22 +0200 |
commit | e63c72acfb7eafd3da46dce7884f1b6c2a974986 (patch) | |
tree | cbaf18563ba091cbfe93c26945aa4be381c087c0 /contrib | |
parent | 54af2dba78c79bf61721a0b454d0e651f99133b7 (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 'contrib')
-rw-r--r-- | contrib/osmo-pcu.service | 3 | ||||
-rw-r--r-- | contrib/sysmopcu.service | 17 |
2 files changed, 1 insertions, 19 deletions
diff --git a/contrib/osmo-pcu.service b/contrib/osmo-pcu.service index 3066a66b..6329d31e 100644 --- a/contrib/osmo-pcu.service +++ b/contrib/osmo-pcu.service @@ -1,5 +1,5 @@ [Unit] -Description=sysmocom sysmoPCU +Description=Osmocom osmo-pcu [Service] Type=simple @@ -14,4 +14,3 @@ CPUSchedulingPriority=1 [Install] WantedBy=multi-user.target -Alias=sysmopcu.service diff --git a/contrib/sysmopcu.service b/contrib/sysmopcu.service deleted file mode 100644 index df8c47e8..00000000 --- a/contrib/sysmopcu.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=sysmocom sysmoPCU - -[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 -Alias=osmo-pcu.service |