whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] 02/02: disable toucher for docker, depends on listen and hasn't been tested with docker
Date Wed, 27 Nov 2019 14:04:42 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit fa6141339f0dfa41de744b5d6c93d2d7738bf6ec
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed Nov 27 09:03:53 2019 -0500

    disable toucher for docker, depends on listen and hasn't been tested with docker
---
 config/setupmymac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/setupmymac b/config/setupmymac
index d2370ed..bb505c0 100755
--- a/config/setupmymac
+++ b/config/setupmymac
@@ -368,7 +368,7 @@ end
 
 ### Make applications restart on change
 
-if Process.uid != 0
+if Process.uid != 0 and option != :docker
   plist = "#{Dir.home}/Library/LaunchAgents/toucher.plist"
   contents = File.read("#{__dir__}/toucher.plist")
   contents[/>(.*ruby.*)</, 1] = RbConfig.ruby


Mime
View raw message