feat: enhance setupStats function with retry logic and improve error handling; update entrypoint to run main script as PID 1
All checks were successful
Build and Push Docker Image / build (push) Successful in 12m29s

This commit is contained in:
2025-02-21 20:26:03 +01:00
parent 5c92020169
commit a0cf93a6be
2 changed files with 16 additions and 11 deletions

View File

@@ -48,6 +48,8 @@ done
printf '\n'
# Start the Telegraf agent and the main script
# Start the Telegraf agent
telegraf --config ./telegraf.conf &
./venv/bin/python main.py
# Start the main Python script as PID 1
exec ./venv/bin/python main.py