2010-08-19, 08:58
Hi,
I've just recently got XBMC live running and it's working great. With much difficulty I've managed to get nzbget working. My only problem is that I can't get it start automatically. I have to ssh into the xbmc pc and start it manually whenever I turn the system on.
After some googling I found a startup script...
Then some more googling led me to this...
sudo update-rc.d defaults
It still doesn't work. I'm not sure if the script is running and then failing. I can't see any log messages. When XBMC boots there are 3 or 4 lines that appear but I can't read them since it's always blocked by the OSD on my TV and it's there for about half a second. I tried find a log that would show these messages but have been unsuccessful with that.
I've also tried update-rc.d with various different start, stop numbers to see if it changes anything but no difference.
Also I should mention that I have tested the startup script manually and it works fine. Just not at startup.
It would be really nice to get this working as I've installed samba so I can access the nzb drop directly from any PC on the network without the need to ssh into it and run commands.
Thanks for any help with this
I've just recently got XBMC live running and it's working great. With much difficulty I've managed to get nzbget working. My only problem is that I can't get it start automatically. I have to ssh into the xbmc pc and start it manually whenever I turn the system on.
After some googling I found a startup script...
Code:
#!/bin/sh
# Start/stop the NZBget daemon.
#
case "$1" in
start) echo -n "Start services: NZBget"
/usr/local/bin/nzbget -D
;;
stop) echo -n "Stop services: NZBget"
/usr/local/bin/nzbget -Q
;;
restart)
$0 stop
$0 start
;;
*) echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
Then some more googling led me to this...
sudo update-rc.d defaults
It still doesn't work. I'm not sure if the script is running and then failing. I can't see any log messages. When XBMC boots there are 3 or 4 lines that appear but I can't read them since it's always blocked by the OSD on my TV and it's there for about half a second. I tried find a log that would show these messages but have been unsuccessful with that.
I've also tried update-rc.d with various different start, stop numbers to see if it changes anything but no difference.
Also I should mention that I have tested the startup script manually and it works fine. Just not at startup.
It would be really nice to get this working as I've installed samba so I can access the nzb drop directly from any PC on the network without the need to ssh into it and run commands.
Thanks for any help with this