You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/snapcast/files/snapclient.initd

18 lines
381 B

#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name=snapclient
command="/usr/bin/snapclient"
command_args="-d $SNAPCLIENT_USER $SNAPCLIENT_OPTS"
pidfile="/run/snapclient/pid"
depend() {
use avahi-daemon
}
start_pre() {
checkpath --directory --owner snapclient:audio --mode 0775 \
/run/snapclient
}