corrige bug log qui ne s'affiche pas dans la console

This commit is contained in:
sky
2025-09-14 03:27:22 +02:00
parent 3435a480e0
commit 1ad8d28bd1

View File

@@ -1,4 +1,4 @@
#!/bin/sh
echo "Démarrage du bot Discord..."
exec /app/venv/bin/python run-web.py 2>&1 | rotatelogs /app/logs/app.log.%Y%m%d-%H%M%S 50M
exec /app/venv/bin/python run-web.py 2>&1 | tee >(rotatelogs /app/logs/app.log.%Y%m%d-%H%M%S 50M)