Reply To: mt-daapd Automatic Startup Upon Ubuntu Startup [solved]

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues mt-daapd Automatic Startup Upon Ubuntu Startup [solved] Reply To: mt-daapd Automatic Startup Upon Ubuntu Startup [solved]

#8501
rpedde
Participant

@onedotseven wrote:

I installed Firefly on my Ubuntu system. I think this was successful: if I type mt-daapd in a terminal session, Firefly starts up and I can then access my music collection in Rhythmbox, Banshee and even in iTunes on a Windows computer on the same network.

How did you install it, from a tarball, or a package.

If there is a file called “/etc/init.d/mt-daapd”, then you already have a startup script. As root, running “/etc/init.d/mt-daapd start” should start the server, and “/etc/init.d/mt-daapd stop” should stop the server.

If so, then you can just do something like:


foo@bar:~$ sudo update-rc.d mt-daapd defaults

… or I should say, that’s how one would do it on debian. I can only assume it’s the same with ubuntu.

If you don’t have a /etc/init.d/mt-daapd, then try saving this file as “mt-daapd” in /etc/init.d, and use the “update-rc.d” command above.

That shold get you blindly running.

For more info on how the startup system works, you can read here:

http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit

— Ron