summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Buchinger <cb-gentoo@guya.de>2018-10-05 16:02:16 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-10-07 19:01:50 +0200
commita29e535d11e57f796fb5306dda84e7be990d8e5f (patch)
treec207f3247bd82cafca945bc694d8d6650c2cab15 /media-sound/snapcast/files/snapclient.initd
parentdev-cpp/popl: New package (diff)
downloadgentoo-a29e535d11e57f796fb5306dda84e7be990d8e5f.tar.gz
gentoo-a29e535d11e57f796fb5306dda84e7be990d8e5f.tar.bz2
gentoo-a29e535d11e57f796fb5306dda84e7be990d8e5f.zip
media-sound/snapcast: New package
Plays audio streams time sychronized on multiple devices over network using a server and a client component. Closes: https://bugs.gentoo.org/667710 Signed-off-by: Christian Buchinger <cb-gentoo@guya.de> Package-Manager: Portage-2.3.50, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10059 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'media-sound/snapcast/files/snapclient.initd')
-rw-r--r--media-sound/snapcast/files/snapclient.initd17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-sound/snapcast/files/snapclient.initd b/media-sound/snapcast/files/snapclient.initd
new file mode 100644
index 000000000000..df69eb2621a0
--- /dev/null
+++ b/media-sound/snapcast/files/snapclient.initd
@@ -0,0 +1,17 @@
+#!/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="$SNAPCLIENT_USER $SNAPCLIENT_OPTS"
+pidfile="/run/snapclient/pid"
+
+depend() {
+ use avahi-daemon
+}
+
+start_pre() {
+ checkpath --directory --owner snapclient:audio --mode 0775 \
+ /run/snapclient
+}