aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clfs/units/rsyncdat.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/clfs/units/rsyncdat.service b/clfs/units/rsyncdat.service
new file mode 100644
index 0000000..f7f6cf7
--- /dev/null
+++ b/clfs/units/rsyncdat.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=A file transfer program to keep remote files in sync
+ConditionPathExists=/etc/rsyncd.conf
+
+[Service]
+ExecStart=/usr/bin/rsync --daemon --no-detach
+StandardInput=socket