lets try logging

This commit is contained in:
2023-08-21 09:24:13 +03:00
parent 6b0339b457
commit e670161908
2 changed files with 28 additions and 3 deletions

View File

@@ -19,4 +19,10 @@ set -eu
. /opt/venv/bin/activate
sh ./init_db.sh "$FLASK_DB"
exec "$SERVER" -w $WORKERS --timeout $TIMEOUT 'app:app' --pid="$PID" -b 0.0.0.0:5000
exec "$SERVER" \
-w $WORKERS \
--timeout $TIMEOUT \
--pid="$PID" \
-b 0.0.0.0:5000 \
'app:app' \
2>&1 | tee -a /data/flees.log