I want to run a unison sync service running in the background whenever I login. But the status code of my agent is 78
. I don\'t know why, I tried some fix posted on
I found the error had to do with permissions.
I was trying to redirect errors and logs to the /var/log
directory which my user is not able to write to.
Changing the path to something where my user had proper permissions to r+w fixed it.
Also, be careful when loading your LaunchAgents. Do not use sudo to load a plist if you are in the ~/Library/LaunchAgents directory.