Made mopidy a daemon thanks to this link:
http://delarre.net/posts/setting-up-a-raspberry-pi-media-center/

so I removed it from the startup script