#/bin/bash

REPORT_PATH=$(pwd) 
#PORT=6969 NODE_ENV=production /usr/local/bin/forever --workingDir $REPORT_PATH/current --minUptime 5000 --spinSleepTime 2000 $1 $REPORT_PATH/current/bin/www

PORT=6969 NODE_ENV=production /usr/local/bin/forever -o out.log -e error.log --workingDir $REPORT_PATH/current  $1 $REPORT_PATH/current/bin/www

