Skip to content

Commit

Permalink
dovecot: fix deprecated keys in plist
Browse files Browse the repository at this point in the history
The "OnDemand" and "ServiceDescription" were deprecated in OS X 10.5.
Replace "OnDemand" with "KeepAlive" and delete the "ServiceDescription" key.

Closes Homebrew/legacy-homebrew#43775.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
cyberdork33 authored and DomT4 committed Sep 10, 2015
1 parent f8fd192 commit aca58e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Formula/dovecot.rb
Expand Up @@ -45,7 +45,7 @@ def plist; <<-EOS.undent
<dict>
<key>Label</key>
<string>#{plist_name}</string>
<key>OnDemand</key>
<key>KeepAlive</key>
<false/>
<key>RunAtLoad</key>
<true/>
Expand All @@ -54,8 +54,6 @@ def plist; <<-EOS.undent
<string>#{opt_sbin}/dovecot</string>
<string>-F</string>
</array>
<key>ServiceDescription</key>
<string>Dovecot mail server</string>
<key>StandardErrorPath</key>
<string>#{var}/log/dovecot/dovecot.log</string>
<key>StandardOutPath</key>
Expand Down

0 comments on commit aca58e2

Please sign in to comment.