File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments