summaryrefslogtreecommitdiff
path: root/syncthing/syncthing@.service
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 18:41:33 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 18:41:33 +0200
commit5b4a6671eace1530a6e70c471b824c2bfc0b3294 (patch)
treea1ce205fa22ae15c9a59229fe15821b8aadffeca /syncthing/syncthing@.service
parentef98535d636cd37c1c8d21468def819989b76a14 (diff)
parent1c5020a76492707a59fe684bc5294e6a34124e5a (diff)
downloadabslibre-5b4a6671eace1530a6e70c471b824c2bfc0b3294.tar.gz
abslibre-5b4a6671eace1530a6e70c471b824c2bfc0b3294.tar.bz2
abslibre-5b4a6671eace1530a6e70c471b824c2bfc0b3294.zip
Merge branch 'master' of ssh://parabola-git/srv/git/abslibre/abslibre
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