I first downloaded the OS X package for SAB and dropped it into /Applications. Just make things easy, I launched it once as my user and configured everything to ensure it was working well, which created some config/ini files in /Users/<myuser>/Library/Application Support/SABnzbd.
I then created a new user `sabnzbd` in my Open Directory, logged in to make sure the proper folders were created in /Users/sabnzbd, then moved the generated files from launching it as myself over to this users ~/Library, chowned them appropriately, and created the following launchd script:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.sabnzbd.daemon</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/SABnzbd.app/Contents/MacOS/SABnzbd</string>
<string>-f</string>
<string>/Users/sabnzbd/Library/Application Support/SABnzbd/sabnzbd.ini</string>
</array>
<key>UserName</key>
<string>sabnzbd</string>
<key>WorkingDirectory</key>
<string>/Users/sabnzbd</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>Code: Select all
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd -f /Users/sabnzbd/Library/Application Support/SABnzbd/sabnzbd.iniEven a Ctrl-C did not quit, so I end up having to kill the process running. I then tried adding `-w 1`, and I get the same hang w/ the following output:INFO:root:Console logging for OSX App disabled
2016-01-22 09:37:18,143::INFO::[SABnzbd:1255] Console logging for OSX App disabled
Again, Ctrl-C is still not working, so I have to kill it directly.Jan 22 10:09:26 SABnzbd[25903] <Error>: Set a breakpoint at CGSLogError to catch errors as they are logged.
Jan 22 10:09:26 SABnzbd[25903] <Error>: This user is not allowed access to the window system right now.
INFO:root:Console logging for OSX App disabled
2016-01-22 10:09:26,294::INFO::[SABnzbd:1255] Console logging for OSX App disabled
How can I troubleshoot what's going on here?

