systemd: Reduce the re-start interval to a couple of seconds

With the exit on failure/disconnect option we restart the PCU a
lot more and might not want to wait five seconds.
This commit is contained in:
Holger Hans Peter Freyther 2014-02-04 13:20:33 +01:00
parent d8f339592d
commit 59fe8f79cc
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Description=sysmocom sysmoPCU
Type=simple
ExecStart=/usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg -e
Restart=always
RestartSec=5
RestartSec=2
# The msg queues must be read fast enough
CPUSchedulingPolicy=rr