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
All checks were successful
Build and Push Docker Image / build (push) Successful in 12m29s
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user