Files
MamieHenriette/start.sh
2025-09-14 03:48:21 +02:00

6 lines
230 B
Bash

#!/bin/bash
echo "Démarrage du bot Discord..."
exec /app/venv/bin/python run-web.py 2>&1 | while IFS= read -r line; do
echo "$(date '+%Y-%m-%d %H:%M:%S%z') $line" | tee -a /app/logs/$(hostname).log # RFC 3339 / ISO 8601
done