mirror of
https://github.com/RsyncProject/rsync.git
synced 2025-12-23 23:28:17 -05:00
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 <simon@sdeziel.info>
This commit is contained in:
@@ -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:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user