new processing
This commit is contained in:
@@ -64,7 +64,7 @@ if ! grep -q "API_TOKEN" "$ENV_FILE"; then
|
||||
fi
|
||||
|
||||
# Prüfen, ob das Python-Script existiert
|
||||
API_SCRIPT="s3_email_downloader_api.py"
|
||||
API_SCRIPT="s3_email_processor_api.py"
|
||||
if [ ! -f "$API_SCRIPT" ]; then
|
||||
echo "Fehler: $API_SCRIPT nicht gefunden!"
|
||||
exit 1
|
||||
@@ -72,4 +72,4 @@ fi
|
||||
|
||||
# API im Produktionsmodus mit Gunicorn starten
|
||||
echo "Starte S3 Email Downloader API auf Port $PORT..."
|
||||
exec gunicorn --bind "0.0.0.0:$PORT" --workers 2 "s3_email_downloader_api:app"
|
||||
exec gunicorn --bind "0.0.0.0:$PORT" --workers 2 "s3_email_processor_api:app"
|
||||
Reference in New Issue
Block a user