From 64e107b9b6058580ff0432107eb37cefb0b2a7d8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 22 Oct 2018 11:09:47 +0100 Subject: gentoo resync : 22.10.2018 --- media-sound/snapcast/files/snapserver.initd | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 media-sound/snapcast/files/snapserver.initd (limited to 'media-sound/snapcast/files/snapserver.initd') diff --git a/media-sound/snapcast/files/snapserver.initd b/media-sound/snapcast/files/snapserver.initd new file mode 100644 index 000000000000..02762c861b03 --- /dev/null +++ b/media-sound/snapcast/files/snapserver.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=snapserver +command="/usr/bin/snapserver" +command_args="$SNAPSERVER_USER $SNAPSERVER_OPTS" +pidfile="/run/snapserver/pid" + +depend() { + use avahi-daemon +} + +start_pre() { + checkpath --directory --owner snapserver:snapserver --mode 0775 \ + /run/snapserver +} -- cgit v1.2.3