From e794e7131ad9fa79f718a421abb40d7541f09604 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 3 Aug 2017 01:30:54 +0300 Subject: removed mpd: fixed in upstream --- media-sound/mpd/files/mpd-0.20.4.init | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 media-sound/mpd/files/mpd-0.20.4.init (limited to 'media-sound/mpd/files/mpd-0.20.4.init') diff --git a/media-sound/mpd/files/mpd-0.20.4.init b/media-sound/mpd/files/mpd-0.20.4.init deleted file mode 100644 index 3eb0bc2..0000000 --- a/media-sound/mpd/files/mpd-0.20.4.init +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -: CFGFILE=${CFGFILE:=/etc/mpd.conf} - -depend() { - need localmount - use net netmount nfsmount alsasound esound pulseaudio - config ${CFGFILE} -} - -get_config() { - x=$1 - test -e ${CFGFILE} || return 1 - sed -n \ - -e '/^[ \t]*'${x}'/{s:^[ \t]*'${x}'[ \t]\+"\?\([^#"]\+\)[^"]*"\?$:\1: ; p }' \ - ${CFGFILE} -} - -extra_started_commands='reload' -command=/usr/bin/mpd -command_args=${opts:=${CFGFILE}} -required_files=${CFGFILE} -pidfile=$(get_config pid_file) -description="Music Player Daemon" - -reload() { - ebegin "Reloading ${SVCNAME}" - kill -HUP `cat ${pidfile}` - eend $? -} -- cgit v1.2.3