summaryrefslogtreecommitdiff
path: root/extra/rsync/rsyncd.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rsync/rsyncd.service')
-rw-r--r--extra/rsync/rsyncd.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/rsync/rsyncd.service b/extra/rsync/rsyncd.service
new file mode 100644
index 000000000..ea2e32c68
--- /dev/null
+++ b/extra/rsync/rsyncd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=A file transfer program to keep remote files in sync
+
+[Service]
+EnvironmentFile=-/etc/conf.d/rsyncd
+ExecStart=/usr/bin/rsync --daemon --no-detach ${RSYNCD_ARGS}
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target