When I boot my RPI 2, the service madsonic seems not to start. I have to connect via a ssh terminal in order to start it because I write in my .profile file "sudo service madsonic start". If I remove this line, madsonic do not start.

I also try "update-rc.d madsonic defaults" and I see the madsonic start but not java with "service --status-all" command. If I want to have the web interface, I always need to write "service madsonic start" in my .profil or via ssh coonection.