#!/bin/sh OPENFIRE_HOME=/usr/local/openfire/ OPENFIRE_GID=`cat /private/tmp/openfiregid` rm /private/tmp/openfiregid chown -R openfire $OPENFIRE_HOME chgrp -R $OPENFIRE_GID $OPENFIRE_HOME /bin/launchctl load /Library/LaunchDaemons/org.jivesoftware.openfire.plist