Running Github Actions on OSX results in "Could not find domain for port (Aqua)"

Viewed 3133

I've followed the directions here, but when I run ./svc.sh run, I receive the following error:

Could not find domain for port (Aqua)

I'm SSH-ing into a box to run this command, it seems to work fine when I'm not in a headless session, but I need this to be headless and as a background service. Anyone else run into this?

2 Answers

I was able to resolve this, addressed here

sudo cp {/Users/xxx/Library/LaunchAgents,/Library/LaunchDaemons}/your.plist

I was able to reboot my machine without logging in and see the runner active

Solution by @futbolpal not good, because LaunchDaemons doesn't have access to keychain.

Better copy to LaunchAgents Like:

sudo cp {/Users/xxx/Library/LaunchAgents,/Library/LaunchAgents}/your.plist
Related