Results 1 to 6 of 6

Thread: Mac OS X launchd item for Zimbra (autostart)

  1. #1
    Mark Daniel's Avatar
    Mark Daniel is offline Senior Member
    Join Date
    May 2007
    Location
    Ferndale, MI
    Posts
    54
    Rep Power
    8

    Default Mac OS X launchd item for Zimbra (autostart)

    Heya all! Finally got around to writing a launchd item for all flavors of Mac OS X 10.4.x (client and server). Simply unzip the attached ZIP, drop the resulting .plist into /Library/LaunchDaemons (or use Lingon to install into "User Daemons"), give your machine a restart, and voila: no need to hop into Terminal and manually start Zimbra.

    Enjoy!
    Attached Files Attached Files

  2. #2
    Steve3 is offline Member
    Join Date
    May 2007
    Posts
    13
    Rep Power
    8

    Default

    Hey, nice. Put it on my test server, shut it down, moved it, booted up, and zimbra services were just there. Thanks for sharing that.

  3. #3
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    Hi Mark,

    I'm a little confused at the need for this as ZCS ships and installs it's own launchd script (com.zimbra.zcs.plist). If the current ones isn't working for you, it'd be great if you could file a bug.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  4. #4
    Mark Daniel's Avatar
    Mark Daniel is offline Senior Member
    Join Date
    May 2007
    Location
    Ferndale, MI
    Posts
    54
    Rep Power
    8

    Default Oh!

    Hah! I never noticed that! I haven't had a chance to go dig for it in the installer .dmg, but Zimbra might want to make the bundled versions presence a little more prominent, as I (and apparently Steve3, perhaps others) didn't spot it.
    I was also geeked as it was my first launchd item. Heh.

    EDIT: Let me refine that: None of the installers for 4.5.x have installed a .plist for me, at least in the appropriate place (/Library/LaunchDaemons). Where does the installer tuck it?
    Last edited by Mark Daniel; 06-06-2007 at 06:04 AM. Reason: update

  5. #5
    Steve3 is offline Member
    Join Date
    May 2007
    Posts
    13
    Rep Power
    8

    Default

    I didn't have a .plist in /Library/LaunchDaemons either- as this was a fresh 10.4 install, with only zimbra added, that folder was empty.

    As I said, I'd never rebooted my zimbra server- I saw this post, looked at Mark's file, decided it was reasonable and harmless, and put it in. I hadn't tested the zimbra experience without it.

  6. #6
    Mark Daniel's Avatar
    Mark Daniel is offline Senior Member
    Join Date
    May 2007
    Location
    Ferndale, MI
    Posts
    54
    Rep Power
    8

    Default

    I'm not in front of my server right now, so I can't get too detailed here, but I took a look at the supplied .plist (buried in /opt/zimbra/conf/ I think), and there were some differences... Mine was basically based on a gentoo startup command that is basically a one liner:

    su - zimbra -c "zmcontrol start"

    The included plist uses a different command, "zcs," and I believe it does a few things to make sure that it launches as the zimbra user and with group permissions of the zimbra group. Dunno... mine appears to accomplish the same, as Activity Viewer shows all of zimbra's processes being owned by Zimbra.

    Shrug.

    Quote Originally Posted by Steve3 View Post
    I didn't have a .plist in /Library/LaunchDaemons either- as this was a fresh 10.4 install, with only zimbra added, that folder was empty.

    As I said, I'd never rebooted my zimbra server- I saw this post, looked at Mark's file, decided it was reasonable and harmless, and put it in. I hadn't tested the zimbra experience without it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installed on Mac OS X client, host file question
    By McBurtnieks in forum Installation
    Replies: 1
    Last Post: 04-01-2007, 11:09 AM
  2. Mac OS X server setup
    By ericmiller74 in forum Installation
    Replies: 2
    Last Post: 10-16-2006, 11:29 AM
  3. Mac OS X + Zimbra + Apache 2
    By abetam in forum Installation
    Replies: 1
    Last Post: 10-06-2006, 10:16 PM
  4. Uninstall in Mac OS X?
    By avi4now in forum Installation
    Replies: 10
    Last Post: 01-09-2006, 12:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •