From 34cfe756e979331b9f82f234498a7b457331bc6f Mon Sep 17 00:00:00 2001 From: Miah Johnson Date: Fri, 12 Sep 2014 16:15:58 -0700 Subject: 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. --- Library/Formula/syncthing.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') 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 + EnvironmentVariables + + STNORESTART + yes + KeepAlive Label -- cgit v1.2.3