Page 1 of 1

Add-on to manual on MacOSX crontab startup script

Posted: November 11th, 2009, 8:08 am
by nairolf
Hi there,

don't know where to post it, so I let it here :
I spent almost an hour trying to understand why the script provided in manual -> Installation -> OSX -> Running to terminal -> Start SABnzbd+ at boottime subsection failed to start SABnzbd on my mac (Snow Leopard 10.6.1).

In fact, the test "/bin/ps aux | grep -v grep | grep SABnzbd" will always match if the current script is placed in a directory or subdirectory that contains "SABnzbd" in its name. Then the if statement in the script is never realized...

to correct this, just add change the line

active=$(/bin/ps aux | grep -v grep | grep SABnzbd)
by
active=$(/bin/ps aux | grep -v grep | grep SABnzbd.py)


Hope this may be of any help, would be great if inserted in manual.

Nairolf

Re: Add-on to manual on MacOSX crontab startup script

Posted: November 11th, 2009, 3:18 pm
by shypike
Thank you. I have made the change.