From dfb8f3ed1c8fbde621cd08aaf9e7724a4c55cbd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Thu, 30 Jan 2020 17:03:38 -0600 Subject: [PATCH] rmtfs.service.in: Add RestartSec to 1 sec intervals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Systemd has a default restart policy of 5 retries so wait 1 second in each retry because if is too fast will fail to start properly. Signed-off-by: Aníbal Limón --- rmtfs.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/rmtfs.service.in b/rmtfs.service.in index 0dd59d4..8384043 100644 --- a/rmtfs.service.in +++ b/rmtfs.service.in @@ -6,6 +6,7 @@ After=qrtr-ns.service [Service] ExecStart=RMTFS_PATH/rmtfs -r -P -s Restart=always +RestartSec=1 [Install] WantedBy=multi-user.target