From 59fe8f79ccf3c0434fca90089a2a6bab64205d87 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 4 Feb 2014 13:20:33 +0100 Subject: 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. --- contrib/sysmopcu.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/sysmopcu.service b/contrib/sysmopcu.service index 587ca778..89c75db4 100644 --- a/contrib/sysmopcu.service +++ b/contrib/sysmopcu.service @@ -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 -- cgit v1.2.3