From bfc2a8298cab03d289dc2cfed63308396fa0babe Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Jun 2023 13:27:08 +0100 Subject: gentoo auto-resync : 24:06:2023 - 13:27:08 --- media-sound/mpd-ynca/files/mpd-ynca.confd | 7 +++++++ media-sound/mpd-ynca/files/mpd-ynca.initd | 17 +++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 media-sound/mpd-ynca/files/mpd-ynca.confd create mode 100644 media-sound/mpd-ynca/files/mpd-ynca.initd (limited to 'media-sound/mpd-ynca/files') diff --git a/media-sound/mpd-ynca/files/mpd-ynca.confd b/media-sound/mpd-ynca/files/mpd-ynca.confd new file mode 100644 index 000000000000..a042a82ceed0 --- /dev/null +++ b/media-sound/mpd-ynca/files/mpd-ynca.confd @@ -0,0 +1,7 @@ +# MPD client connection settings. You don't need to set these if using the mpd +# service locally. See https://mpd.readthedocs.io/en/latest/client.html for +# details. + +# MPD_HOST=localhost +# MPD_PORT=6600 +# MPD_TIMEOUT=30 diff --git a/media-sound/mpd-ynca/files/mpd-ynca.initd b/media-sound/mpd-ynca/files/mpd-ynca.initd new file mode 100644 index 000000000000..d18e3eeaec51 --- /dev/null +++ b/media-sound/mpd-ynca/files/mpd-ynca.initd @@ -0,0 +1,17 @@ +#!/sbin/openrc-run +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +export \ + MPD_HOST \ + MPD_PORT \ + MPD_TIMEOUT + +pidfile="/run/${RC_SVCNAME}.pid" +command="/usr/bin/mpd-ynca" +command_user="mpd" +command_background="yes" + +depend() { + after mpd +} -- cgit v1.2.3