diff --git a/deployment/start.backend.sh b/deployment/start.backend.sh index 42430f36e8..6993f6fb15 100755 --- a/deployment/start.backend.sh +++ b/deployment/start.backend.sh @@ -6,5 +6,5 @@ SCRIPT_DIR=$(dirname $SCRIPT_PATH)/../backend LOG_FILE=$SCRIPT_DIR/../log/$(date +"%Y-%m-%d_%T")_pm2.backend.log cd $SCRIPT_DIR -NODE_ENV=production pm2 start --name backend "npm run start" -l $LOG_FILE --log-date-format 'YYYY-MM-DD HH:mm:ss.SSS' -pm2 save \ No newline at end of file +NODE_ENV=production TZ=UTC TS_NODE_BASEURL=./build pm2 start --name backend "node -r tsconfig-paths/register build/src/index.js" -l $LOG_FILE --log-date-format 'YYYY-MM-DD HH:mm:ss.SSS' +pm2 save