summaryrefslogtreecommitdiffstats
path: root/abs/extra/rsync/rsyncd.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/rsync/rsyncd.service')
-rw-r--r--abs/extra/rsync/rsyncd.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/extra/rsync/rsyncd.service b/abs/extra/rsync/rsyncd.service
new file mode 100644
index 0000000..ea2e32c
--- /dev/null
+++ b/abs/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