Change the .plist to a working launchd example. <http://github.com/mxcl/homebrew/issues/issue/1841>

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
benderydt 2010-07-13 15:28:41 -07:00 committed by Adam Vandenberg
parent aa1a852423
commit 9939dd6ba7

View file

@ -23,21 +23,26 @@ For Dovecot to work, you will need to do the following:
3) possibly create a launchd item in /Library/LaunchDaemons/org.dovecot.plist, like so:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.dovecot</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>#{sbin}/dovecot</string>
<string>-F</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>Dovecot mail server</string>
</dict>
</plist>
Source: http://wiki.dovecot.org/LaunchdInstall
4) start the server using: sudo launchctl load /Library/LaunchDaemons/org.dovecot.plist
EOS
end