diff options
| author | Miah Johnson | 2014-09-12 16:15:58 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2014-09-13 09:19:03 +0100 |
| commit | 34cfe756e979331b9f82f234498a7b457331bc6f (patch) | |
| tree | 6d652926c143f8e6bfd750842b6dad4565a9bed6 /Library/Formula/syncthing.rb | |
| parent | 367e2040368bdc71794c94579bc930c9be0bf437 (diff) | |
| download | homebrew-34cfe756e979331b9f82f234498a7b457331bc6f.tar.bz2 | |
syncthing: let launchd handle restarts.
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.
Diffstat (limited to 'Library/Formula/syncthing.rb')
| -rw-r--r-- | Library/Formula/syncthing.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/syncthing.rb b/Library/Formula/syncthing.rb index c7d48f682..615961078 100644 --- a/Library/Formula/syncthing.rb +++ b/Library/Formula/syncthing.rb @@ -32,6 +32,11 @@ class Syncthing < Formula <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> + <key>EnvironmentVariables</key> + <dict> + <key>STNORESTART</key> + <string>yes</string> + </dict> <key>KeepAlive</key> <true/> <key>Label</key> |
