Re: [Solved] Sabnzbd Fails to Launch as a Service
Reply #5 –
The part of the script that is supposed to start sab is working (when running it manually), its that the PATH variable is not handed to dinit or the service or whatever.
The Error Message is:
File "/usr/lib/sabnzbd/sabnzbd/misc.py", line 995, in find_on_path
paths = os.getenv("PATH").split(":")
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'
The script itself is very basic and based on the comments of this post:
#!/bin/sh
export PATH="/bin:/usr/bin"
/usr/lib/sabnzbd/SABnzbd.py -l0 -f /var/lib/sabnzbd/sabnzbd.ini