u/0verstim

ddclient has me pulling my hair out

I've configured ddclient for porkbun and its working when I force run it on my Mac server. But I am going crazy trying to run it as a LaunchAgent.

For starters, every time I try
brew services start ddclient
it dynamically generates a new ~/Library/LaunchAgents/homebrew.mxcl.ddclient.plist file, and its incorrect! the path is /opt/homebrew/opt/ddclient/bin/ddclient but it should be /opt/homebrew/bin/ddclient. Where is this coming from?

Second, even after I edit the plist, i cant get it to launch:
launchctl kickstart -kp gui/$(id -u)/homebrew.mxcl.ddclient.plist
gives me
Could not find service "homebrew.mxcl.ddclient.plist" in domain for user gui: 501

and
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/homebrew.mxcl.ddclient.plist
gives me
Bootstrap failed: 5: Input/output error

I have verified the owner and permissions are correct for the LaunchAgent. Any other thoughts?

reddit.com
u/0verstim — 21 hours ago