|
|
Automatic startup of FileMaker Pro Server
This script tries to incorporate all of the tips above:
#!/bin/sh
. /etc/rc.common
##
# Start FileMaker Server
##
FMS_PATH="/Applications/FileMaker Server 5.5/FileMaker Server Config.app/Contents/Resources/"
FMS_USER="admin"
StartService ()
{
if [ "${FMSERVER:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting FileMaker Server"
sudo -u $FMS_USER "$FMS_PATH""fmserverd" start -c "$FMS_PATH""fmserver.conf"
fi
}
StopService ()
{
ConsoleMessage "Stopping FileMaker Server"
sudo -u $FMS_USER "$FMS_PATH""fmserverd" pause
sudo -u $FMS_USER "$FMS_PATH""fmserverd" close
sudo -u $FMS_USER "$FMS_PATH""fmserverd" stop
}
RestartService ()
{
StopService
StartService
}
RunService "$1"
Automatic startup of FileMaker Pro Server
i followed the directions on FileMakers site but changed two things:
Automatic startup of FileMaker Pro Server
Hi, |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|