summaryrefslogtreecommitdiff
path: root/.config/systemd/user
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user')
-rw-r--r--.config/systemd/user/syncthing@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/systemd/user/syncthing@.service b/.config/systemd/user/syncthing@.service
new file mode 100644
index 0000000..1de4274
--- /dev/null
+++ b/.config/systemd/user/syncthing@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Syncthing - Open Source Continuous File Synchronization for %I
+Documentation=man:syncthing(1)
+After=network.target
+
+[Service]
+User=%i
+ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0
+Restart=on-failure
+SuccessExitStatus=3 4
+RestartForceExitStatus=3 4
+
+[Install]
+WantedBy=multi-user.target