Homebrew/homebrew — pull request #32273 by miah (2014-09-12 23:19:46+00:00)
Title: Let launchd handle syncthing restarts.

We are running on OSX, so lets do as the authors recommend and let launchd handle this.

The alternative is to get into fun restart races between launchd and syncthing itself.

STNORESTART Do not attempt to restart when requested to, instead just exit.
Set this variable when running under a service manager such as
runit, launchd, etc.