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