Originally Posted by
DrChair
If I do that, it can't find par2 and unrar, during startup. Does it do find those in your setup??
Hi DrChair,
Sorry for the late reply. Actually my system stays quite unstable. And you where right, par2 and unrar where not found in de SABnzbd.log with my addition in the post-boot. So alternatively i tried something different. With a cron system already installed (thanx to macsat for his tutorial) i added a new shell script in my cron.5mins. Now every 5 minutes it checks if a python process is running. If not i start SABnzbd with the startup file. If the process is running i do nothing.
After reboot cron is loaded and within 5 minutes SABnzbd is running automaticaly. Together with the queu saving this also solves most of the stability issues because after breakdown i get an automatic restart.
And moreover...with this option par2 and unrar are loaded correctly.
Underneath you find the shell file i use:
-save it as sabnzbd.sh
-place file somewhere in the cron folders (i used 5mins)
-and make it executable with a chmod 755.
Code:
#!/bin/sh
SERVICE='python'
if ps | grep -v grep | grep $SERVICE > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE was not running, restarting"
startSABnzbd
fi
Hope this works for you too.