aboutsummaryrefslogtreecommitdiffstats
path: root/testing/snapcast/snapcast-client.initd
blob: 2783599a4cce50e30527fb1898c44ab02891ee10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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 \
		/var/log/snapcast /run/snapclient
}