diff options
| author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2026-01-26 01:10:46 +0100 |
|---|---|---|
| committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2026-01-26 01:10:46 +0100 |
| commit | bcded61cde60c5554c2dddc895bba674fa129cbf (patch) | |
| tree | 12afbf2109a501251fef7be31aabc2e32d828f7f /sys-apps/openrc-userscripts/files/mpd | |
| parent | 7d9ce0766229d7dcce717435edbd2bf8c4b5dc1d (diff) | |
| download | enomicon-bcded61cde60c5554c2dddc895bba674fa129cbf.tar.xz | |
sys-apps/openrc-userscripts: treeclean
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'sys-apps/openrc-userscripts/files/mpd')
| -rwxr-xr-x | sys-apps/openrc-userscripts/files/mpd | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/sys-apps/openrc-userscripts/files/mpd b/sys-apps/openrc-userscripts/files/mpd deleted file mode 100755 index 8eaf7fb..0000000 --- a/sys-apps/openrc-userscripts/files/mpd +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/openrc-run --user -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -: CFGFILE=${CFGFILE:=${XDG_CONFIG_HOME:-${HOME}/.config}/mpd/mpd.conf} - -depend() { - use pipewire 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' -# Required by io_uring -command=/usr/bin/mpd -command_args=${CFGFILE} -required_files=${CFGFILE} -pidfile=$(get_config pid_file) -description="Music Player Daemon" - -reload() { - ebegin "Reloading ${RC_SVCNAME}" - start-stop-daemon --pidfile ${pidfile} --signal HUP - eend $? -} |
