diff --git a/deploy.sh b/deploy.sh index b29c3535..6eaa1bc7 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,5 @@ #!/bin/bash mkdir -p server_log -gunicorn -w 3 run_demo_server:app -b 0.0.0.0:8769 -t 120 \ - --error-logfile server_log/error.log \ - --access-logfile server_log/access.log +GUNICORN_CMD_ARGS="-w 3 -b 0.0.0.0:8769 -t 120 \ +--error-logfile server_log/error.log \ +--access-logfile server_log/access.log" gunicorn run_demo_server:app