summaryrefslogtreecommitdiff
path: root/rsyncd.service
diff options
context:
space:
mode:
Diffstat (limited to 'rsyncd.service')
-rw-r--r--rsyncd.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/rsyncd.service b/rsyncd.service
new file mode 100644
index 0000000..3ffecce
--- /dev/null
+++ b/rsyncd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=fast remote file copy program daemon
+ConditionPathExists=/etc/rsyncd.conf
+
+[Service]
+EnvironmentFile=/etc/sysconfig/rsyncd
+ExecStart=/usr/bin/rsync --daemon --no-detach "$OPTIONS"
+
+[Install]
+WantedBy=multi-user.target