aports/testing/snapcast/snapcast-client.initd
2017-04-18 02:13:15 +02:00

19 lines
309 B
Plaintext

#!/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
}