Page 1 of 1

Finally I did it, but how to autostart??

Posted: Fri Jun 15, 2007 4:48 pm
by chrisb
Ok, I finally got my Gentoox on my box, with Samba, MediaTomb (UPnP mediaserver) and Azureus with AzSMRC plugin installed..

So, how do I add MediaTomb and Azureus to the boot sequence?

Info about MediaTomb here: http://mediatomb.cc/pages/documentation
and Azureus CMD here: http://www.azureuswiki.com/index.php/ConsoleUI

I hope someone can help, my box is where I want it to be.. :)
So many thanks to, Cheasyboofs, Shallax and clpalmer..

Posted: Sun Jun 17, 2007 12:15 pm
by annerajb
this is from the how to run native tread
Making it into a usable file server:
# emerge samba (install samba)
# emerge webmin (install webmin)
# rc-update add samba default (make samba run at boot) <<<
# rc-update add webmin default (make webmin run at boot)<<<
# ./etc/init.d/webmin start (start webmin)

Posted: Mon Jun 18, 2007 3:35 pm
by clpalmer
That doesn't really answer his question. He's not looking for samba/webmin, he's looking for how to autostart mediatomb and azureus.

I'm not familiar with either app, but you can likely just add them to /etc/conf.d/local.start and they will automatically be started on bootup. If there's any graceful shutdown required, you should probably add that to local.stop as well so that's performed on shutdown.

Not sure if they're UI or console apps, but I assume console. In any case, try that and see if it works for your purpose.