2014-11-19 09:42:05 +01:00
|
|
|
[Unit]
|
2015-02-02 01:11:41 +01:00
|
|
|
Description=Syncthing - Open Source Continuous File Synchronization
|
|
|
|
Documentation=https://github.com/syncthing/syncthing/wiki
|
|
|
|
After=network.target
|
2014-11-19 09:42:05 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=STNORESTART=yes
|
2015-03-21 20:46:14 +01:00
|
|
|
ExecStart=/usr/bin/syncthing -no-browser -logflags=0
|
2014-11-19 09:46:14 +01:00
|
|
|
Restart=on-failure
|
2015-03-30 00:45:55 +02:00
|
|
|
SuccessExitStatus=2 3 4
|
2015-02-01 23:55:54 +01:00
|
|
|
RestartForceExitStatus=3 4
|
2014-11-19 09:42:05 +01:00
|
|
|
|
|
|
|
[Install]
|
2015-02-02 01:11:41 +01:00
|
|
|
WantedBy=default.target
|