File: syncthing-discosrv.service

package info (click to toggle)
syncthing 1.0.0~ds1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 11,096 kB
  • sloc: xml: 1,028; sh: 219; makefile: 61
file content (16 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Syncthing Discovery Server
After=network.target
Documentation=man:stdiscosrv(1)

[Service]
User=syncthing
Group=syncthing
WorkingDirectory=/var/lib/syncthing/discosrv
EnvironmentFile=-/etc/default/syncthing-discosrv
ExecStart=/usr/bin/stdiscosrv ${STDISCOSRV_OPTS}
Restart=on-failure

[Install]
WantedBy=multi-user.target
Alias=stdiscosrv.service