aboutsummaryrefslogblamecommitdiffstats
path: root/community/mopidy/mopidy.initd
blob: 3b84fc051ec7bf2ee1c53577bd6c3ecf1696f200 (plain) (tree)
1
2
3
4
5
6
7
8
9

                  





                                     
                                               

                         






                      
                                                                   

                               
#!/sbin/openrc-run

supervisor=supervise-daemon

name="Mopidy"
description="Extensible music server"

command=/usr/bin/mopidy
command_args="--config /etc/mopidy/mopidy.conf"

command_user=mopidy:audio

depend() {
	need net
	after firewall
}

start_pre() {
	checkpath --directory --owner "$command_user" --mode 0775 \
		/var/log/mopidy
}