Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hello,
I am trying to start SABnzbd automatically after a dlink reboot.
I have a chooted debain etch environment - funplug v 0.4, firmware v 1.04.
I have made the following script and saved it to mnt/HD_a2/etch/etc/init.d/
########
#!/bin/sh
cd /SABnzbd
python SABnzbd.py -f SABnzbd.ini &
########
The file is called startsab (set permissions to chmod a+x)
I have added the following line to the bottom of the funplug script:
cd /mnt/HD_a2/ && chroot etch /etc/init.d/startsab start
echo "* Done" >>${LOGFILE}
Why doesn't this start the sabnzbd automatically? If i run python SABnzbd.py -f SABnzbd.ini & directly from the directory ./SABnzbd the application starts up and works ok.
If I run the following: ./startsab from the directory ./etc/init.d againthe application starts ok.
I hope someone can help - i assume the line I have entered in the fun_lug script is wrong but I do not know what to change it to.
Thanks
Trux
Offline
Bump
Offline