SABnzbd cannot read Watched Folder when run as service
Posted: November 11th, 2011, 4:30 pm
Fresh install of Fedora16 and SABnzbd. everything works fine if I run SABnzbd from a terminal as a regular user. I'm trying to start it as a service when my computer boots. I have followed the instructions from http://wiki.sabnzbd.org/install-fedora-repo as listed below and was able to successfully start and stop the SABnzbd service from the terminal as described in step 3.
For some reason IF I run SABnzbd as a service it will not read the watched folder which resides in my ~/Downloads/incomplete/nzbs
the nzb files just sit there. If I stop the service and then just run it manually then it will start processing the nzbs. is this a permissions issue with the folder or am I missing something?
For some reason IF I run SABnzbd as a service it will not read the watched folder which resides in my ~/Downloads/incomplete/nzbs
the nzb files just sit there. If I stop the service and then just run it manually then it will start processing the nzbs. is this a permissions issue with the folder or am I missing something?
Run SABnzbd as a service
The RPM installs a service (init.d) but does not start it by defaut. If you want to run SABnzbd as a service executed as user $sabuser, you need to
(as $sabuser) run SABnzbd once to have a configuration file (the service checks that /home/$sabuser/.sabnzbd/sabnzbd.ini exists). Don't forget to stop SABnzbd when done
(as root) define a few variables in /etc/sysconfig/SABnzbd
(as root) try to start the service ("service SABnzbd start"), see if it's running ("service SABnzbd status"), try to stop it ("service SABnzbd stop"). If you can't stop it, it means the gui address and/or the username/password and/or the apikey is/are wrong (ie. fix /etc/sysconfig/SABnzbd). It's very important that the system can stop properly SABnzbd. Please be careful.
(as root) if the third step works: "chkconfig —levels 345 SABnzbd on", to have SABnzbd started in run levels 3,4, and 5 when your computer starts