summaryrefslogtreecommitdiff
path: root/syncthing/syncthing@.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-06-05 13:34:28 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-06-05 13:34:28 -0300
commit1c5020a76492707a59fe684bc5294e6a34124e5a (patch)
treecaec817a2a93998537eac45f631fbba8f0b1ead8 /syncthing/syncthing@.service
parent4851a89f8c45e9fa325595adc986226ec8a1ca29 (diff)
downloadabslibre-1c5020a76492707a59fe684bc5294e6a34124e5a.tar.gz
abslibre-1c5020a76492707a59fe684bc5294e6a34124e5a.tar.bz2
abslibre-1c5020a76492707a59fe684bc5294e6a34124e5a.zip
syncthing: torrent based directory synchronization
Diffstat (limited to 'syncthing/syncthing@.service')
-rw-r--r--syncthing/syncthing@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/syncthing/syncthing@.service b/syncthing/syncthing@.service
new file mode 100644
index 000000000..93ed40e14
--- /dev/null
+++ b/syncthing/syncthing@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Syncthing service for %i
+After=network.target
+
+[Service]
+User=%i
+Environment=STNORESTART=yes
+ExecStart=/usr/bin/syncthing
+Restart=always
+
+[Install]
+WantedBy=multi-user.target