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