Linux Delay autostart of Sickbeard in XBMCbuntu
#1
Question 
Complete Linux/Ubuntu nerd here, so please bare with me if I need things spelled out.

I followed this guide for installing Sickbeard and getting it to autostart on boot, which works perfectly:
http://www.linuxplained.com/install-sick...-ubuntu/2/

However, I'm finding that the program is actually starting before my ethernet even connects, and it's throwing some errors. How do I delay Sickbeard to not start until the ethernet is connected?Huh
Reply
#2
Could you paste the whole startup script (/etc/init.d/sickbeard) on pastebin and add a link here?
Reply
#3
Just change the startup to later with update-rc.d. Be default it sets the priority to 20, you could set it to something higher to make it start later.

http://www.debuntu.org/how-to-managing-s...date-rc-d/

Code:
sudo update-rc.d sickbeard remove
sudo update-rc.d sickbeard defaults 90
Reply
#4
That is one way to do it, what I had in mind was to edit the magic comments on top of the file (assuming this is a real init script, not some hack job) to indicate that it depends on the network.
Reply
#5
drivesoslow, I tried the method you posted:

Code:
sudo update-rc.d sickbeard remove
sudo update-rc.d sickbeard defaults 90

But looks like it's still not loading after the ethernet connects. Any other methods I can try?

negge: Here's the link to the init.ubuntu (init.d/sickbeard) file:

https://github.com/midgetspy/Sick-Beard/...nit.ubuntu
Reply
#6
You could try changing "Required-Start: $local_fs $network $remote_fs" to "Required-Start: $local_fs $network $remote_fs $NetworkManager", and remove the "Should-Start" and "Should-Stop" lines. I don't know why depending on $network is not enough, I guess it's typical Ubuntu bullshit.
Reply
#7
Blah, that didn't seem to do it either...
Reply
#8
My only other suggestion is to remove NetworkManager

http://askubuntu.com/questions/249944/ho...orkmanager
Reply

Logout Mark Read Team Forum Stats Members Help
Delay autostart of Sickbeard in XBMCbuntu0