diff options
| author | benderydt | 2010-07-13 15:28:41 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-13 17:24:08 -0700 |
| commit | e162efc52206b4abe74e5f92d16aafde6462ae92 (patch) | |
| tree | 181a4100d863cc1907d29995148a1cb859f897c1 /Library/Formula/dovecot.rb | |
| parent | a22bf178572db574e7b358adbd7f58f86f439d33 (diff) | |
| download | homebrew-e162efc52206b4abe74e5f92d16aafde6462ae92.tar.bz2 | |
Change the .plist to a working launchd example. <http://github.com/mxcl/homebrew/issues/issue/1841>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/dovecot.rb')
| -rw-r--r-- | Library/Formula/dovecot.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/dovecot.rb b/Library/Formula/dovecot.rb index 447a722f7..885706501 100644 --- a/Library/Formula/dovecot.rb +++ b/Library/Formula/dovecot.rb @@ -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 |
