Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (12 sloc) 448 Bytes
#ruby exchange_server.rb --daemonize --port=9000 --environment=production
#pid=`cat goliath.pid`
rake test
#echo "Exchange PID: $pid"
ruby notification_daemon.rb start
pid=`ruby notification_daemon.rb status | cut -d[ -f2 | cut -d" " -f 2 | cut -d] -f1`
echo "Notification server PID: $pid"
thin start --daemonize
sleep 1
pid=`cat tmp/pids/thin.pid`
echo "User server PID: $pid"
sudo spawn-fcgi -a127.0.0.1 -p8500 -n /home/www/cgi/index.cgi -C 12