aboutsummaryrefslogblamecommitdiffstats
path: root/community/snapcast/snapcast-server.initd
blob: 11b0c2b95328f936d7d5062d2138247cd97494eb (plain) (tree)
1
2
3
4
5
6
7
8
9

                  

                           
               
                             
                               

                                




                      


                                                                  
                                   

 
#!/sbin/openrc-run

supervisor=supervise-daemon

name=snapserver
command="/usr/bin/snapserver"
command_args="$snapserver_opts"
command_user="snapcast"
start_stop_daemon_args="--quiet"

depend() {
	need net
	after firewall
}

start_pre() {
	checkpath --directory --owner snapcast:audio --mode 0775 \
		/var/lib/snapserver
}