From d41bb98c09bf0b999c4eee4e2125c7e5d0747ec4 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Mon, 11 Apr 2022 12:08:11 -0400 Subject: [PATCH] systemd: restart daemon on-failure (#302) man 5 systemd.service: > Setting this to on-failure is the recommended choice for long-running services Partial fix for https://bugzilla.samba.org/show_bug.cgi?id=13463 Signed-off-by: Simon Deziel --- packaging/systemd/rsync.service | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/systemd/rsync.service b/packaging/systemd/rsync.service index 8a0b5820..8a867ca6 100644 --- a/packaging/systemd/rsync.service +++ b/packaging/systemd/rsync.service @@ -7,6 +7,7 @@ Documentation=man:rsync(1) man:rsyncd.conf(5) [Service] ExecStart=/usr/bin/rsync --daemon --no-detach RestartSec=1 +Restart=on-failure # Citing README.md: # -- 2.47.2