aboutsummaryrefslogblamecommitdiffstats
path: root/community/snapcast/snapcast-client.initd
blob: 9218a5faef6165ed7d0dc3df248002b00d9578ad (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                  
                               

 
#!/sbin/openrc-run

name=snapclient
command="/usr/bin/snapclient"
command_args="-d $snapclient_opts"
command_user="snapcast"
pidfile="/run/snapclient/pid"

depend() {
	need net
	after firewall
}

start_pre() {
	checkpath --directory --owner snapcast:audio --mode 0775 \
		/run/snapclient
}