#!/bin/sh

if [ -f /tmp/wildfire.xml ]; then 
	mv /tmp/wildfire.xml /usr/local/wildfire/conf/
fi

if [ -f /tmp/security ]; then
	mv /tmp/security /usr/local/wildfire/resources/
fi

/bin/launchctl load /System/Library/LaunchDaemons/org.jivesoftware.wildfire.plist
/bin/launchctl start org.jivesoftware.wildfire