mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
18 lines
309 B
Text
18 lines
309 B
Text
#!/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
|
|
}
|
|
|