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
Here's what caught me: In Mac OS X you can run shell-scripts from command-line even if there's "just the script" in the file. However, when you run them from launchd you have to tell which binary that should run the script. A suppose that when you run from command-line it just uses the shell you are currently in (in my case bash), but when running from launchd there is no "surrounding script". I added
#!/bin/sh
as the first line in the script file, and then it worked.