strict warning: Only variables should be assigned by reference in /home/itechpros/servoyguy.com/sites/all/modules/links/links.inc on line 1434.

How do I setup Servoy Application Server to startup automatically on a Mac

1. Download Armadillo to create startup items
http://servoyguy.com/modules/extlink/extlink.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; padding-right: 12px; color: #022726; text-decoration: none; background-position: 100% 50%;" title="http://www.macupdate.com/info.php/id/17385/armadillo" href="http://www.macupdate.com/info.php/id/17385/armadillo" target="_blank">http://www.macupdate.com/info.php/id/17385/armadillo
2. In Armadillo, enter in the correct commands in the start and stop service methods. If you are unsure, use the code below:
----------
#!/bin/sh
##
# Servoy Application Server
#
. /etc/rc.common
StartService ()
{
ConsoleMessage "Starting Servoy Application Server..."
cd /Applications/Servoy
. /Applications/Servoy/servoy_server.sh &
}
StopService ()
{
ConsoleMessage "Stopping Servoy Application Server"
PIDS=`ps ax | grep servoy_server.sh | grep -v grep | awk '{print $1}'`
for pid in $PIDS; do
kill -KILL $pid
done
}
RestartService ()
{
ConsoleMessage "Restarting Servoy Application Server..."
StopService
StartService
}
RunService "$1"
----------
3. Give the startup item a name and description in Armadillo, and once everything is filled out, click the "Create" button (not "create and install"). This will ask you where to save it. Just put it on the desktop.
4. The new folder on your desktop will be named whatever your startup item was named. Take that folder, and drag it into the /Library/StartupItems folder (not the user startup items folder). It will prompt you for your password, enter the admin password.
Restart the machine, and Servoy should startup automatically. Make sure your database server is also starting up automatically.