summaryrefslogtreecommitdiffstats
path: root/abs/extra/rslsync/rslsync.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/rslsync/rslsync.service')
-rw-r--r--abs/extra/rslsync/rslsync.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/extra/rslsync/rslsync.service b/abs/extra/rslsync/rslsync.service
new file mode 100644
index 0000000..8d918ee
--- /dev/null
+++ b/abs/extra/rslsync/rslsync.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Resilio Sync service
+After=network.target
+
+[Service]
+Type=simple
+User=rslsync
+Group=rslsync
+ExecStart=/usr/bin/rslsync --nodaemon --config /etc/rslsync.conf
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target