Skip to content

Commit 73fa142

Browse files
Update hivemind formula to v0.3.2
1 parent b2b3263 commit 73fa142

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Formula/hivemind.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ def install
3434
end
3535

3636
def post_install
37-
# Note: We intentionally skip auth-check here because it can trigger
38-
# credential migration which breaks a still-running older daemon.
39-
# Users will be prompted to authenticate when they start the service.
40-
true
37+
# Check if service is running and prompt for restart
38+
plist_path = Pathname.new("#{Dir.home}/Library/LaunchAgents/com.wandb.hivemind.plist")
39+
if plist_path.exist?
40+
ohai "Service installed. Restart to apply update: brew services restart wandb/taps/hivemind"
41+
end
4142
end
4243

4344
def caveats
@@ -61,7 +62,6 @@ def caveats
6162
environment_variables HIVEMIND_LOG_FILE: var/"log/hivemind.log"
6263
log_path var/"log/hivemind.log"
6364
error_log_path var/"log/hivemind.err"
64-
restart_service :changed
6565
end
6666

6767
test do

0 commit comments

Comments
 (0)