mpd: fix plist to use configuration file (#29344)

This commit is contained in:
jerryskye 2018-06-24 09:38:28 +02:00 committed by ilovezfs
parent a222377ed8
commit dba756a726

View file

@ -112,7 +112,7 @@ class Mpd < Formula
(etc/"mpd").install "doc/mpdconf.example" => "mpd.conf"
end
plist_options :manual => "mpd"
plist_options :manual => "mpd #{HOMEBREW_PREFIX}/etc/mpd/mpd.conf"
def plist; <<~EOS
<?xml version="1.0" encoding="UTF-8"?>
@ -127,6 +127,7 @@ class Mpd < Formula
<array>
<string>#{opt_bin}/mpd</string>
<string>--no-daemon</string>
<string>#{etc}/mpd/mpd.conf</string>
</array>
<key>RunAtLoad</key>
<true/>