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
|
2016-03-16 13:09:01 +00:00
|
|
|
Documentation=man:syncthing(1)
|
2014-11-19 08:42:05 +00:00
|
|
|
After=network.target
|
2015-09-25 21:05:11 +00:00
|
|
|
Wants=syncthing-inotify@.service
|
2014-11-19 08:42:05 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=%i
|
2015-12-15 07:38:08 +00:00
|
|
|
ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0
|
2014-11-19 08:46:14 +00:00
|
|
|
Restart=on-failure
|
2015-12-15 07:38:08 +00:00
|
|
|
SuccessExitStatus=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
|