From 9f2444647486e7958b54a223367e98371a18793a Mon Sep 17 00:00:00 2001 From: William Harrington Date: Mon, 28 Apr 2014 21:01:13 -0500 Subject: Add rsyncd service file. --- clfs/units/rsyncd.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 clfs/units/rsyncd.service (limited to 'clfs') diff --git a/clfs/units/rsyncd.service b/clfs/units/rsyncd.service new file mode 100644 index 0000000..6eb841d --- /dev/null +++ b/clfs/units/rsyncd.service @@ -0,0 +1,10 @@ +[Unit] +Description=A file transfer program to keep remote files in sync +ConditionPathExists=/etc/rsyncd.conf + +[Service] +ExecStart=/usr/bin/rsync --daemon --no-detach +RestartSec=1 + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf