Add-on to manual on MacOSX crontab startup script

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
nairolf
Newbie
Newbie
Posts: 1
Joined: November 11th, 2009, 7:55 am

Add-on to manual on MacOSX crontab startup script

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

Thank you. I have made the change.
Post Reply