After using Zimbra Collaboration Suite for a few months and loving it, but at the same time being ticked that they don't have an autostart item bundled with it, I finally decided to whip up my own. The following code should be pasted and saved into a plain text document with the name com.zimbra.zcs.plist:
<?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">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.zimbra.zcs</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/su</string>
<string>-</string>
<string>zimbra</string>
<string>-c</string>
<string>zmcontrol start</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Save the code into /Library » LaunchDaemons. Give the machine a reboot, and Zimbra will start automagically. The nice thing about this solution is that it's compliant with launchd, and no longer relies on the now-deprecated StartupItems method.
•
[7,499 views]

