Figuring out with Gunicorn...

This commit is contained in:
Donald Zou
2024-06-18 03:40:25 +08:00
parent 327d66bb80
commit 9baefec541
4 changed files with 24 additions and 125 deletions

View File

@@ -102,7 +102,7 @@ gunicorn_start () {
export PATH=$PATH:/usr/local/bin:$HOME/.local/bin
fi
gunicorn --access-logfile log/access_"$d".log \
--error-logfile log/error_"$d".log 'dashboard:run_dashboard()'
--error-logfile log/error_"$d".log 'dashboard:runGunicorn()'
printf "| Log files is under log/ |\n"
printf "%s\n" "$dashes"
}