summaryrefslogtreecommitdiff
path: root/pcr/discosrv/discosrv.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-12-27 15:31:12 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-12-27 15:31:12 -0300
commitc01746a7e37c4b32614f76bb559225eebf43bfba (patch)
tree5f8dea61f2d01442bfe907f74b2ade9a9d0c6864 /pcr/discosrv/discosrv.service
parentfdc76cbb11a88e25a37a006550ffd3186e6238e4 (diff)
downloadabslibre-c01746a7e37c4b32614f76bb559225eebf43bfba.tar.gz
abslibre-c01746a7e37c4b32614f76bb559225eebf43bfba.tar.bz2
abslibre-c01746a7e37c4b32614f76bb559225eebf43bfba.zip
discosrv is the discovery server for syncthing
Diffstat (limited to 'pcr/discosrv/discosrv.service')
-rw-r--r--pcr/discosrv/discosrv.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/discosrv/discosrv.service b/pcr/discosrv/discosrv.service
new file mode 100644
index 000000000..1ba22c9ce
--- /dev/null
+++ b/pcr/discosrv/discosrv.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Discovery Service for Syncthing
+After=network.target
+
+[Service]
+User=nobody
+Group=nobody
+ExecStart=/usr/bin/discosrv
+Restart=on-success
+
+[Install]
+WantedBy=default.target