diff --git a/conf/supervisor_main.conf b/conf/supervisor_main.conf index 5a6c992..cd2130c 100644 --- a/conf/supervisor_main.conf +++ b/conf/supervisor_main.conf @@ -16,6 +16,8 @@ command=python ytdl_bot.py autorestart=true priority=900 stopasgroup=true +startsecs = 5 +startretries = 5 redirect_stderr=true stdout_logfile_maxbytes = 50MB diff --git a/conf/supervisor_worker.conf b/conf/supervisor_worker.conf index 6c4dccf..545bde7 100644 --- a/conf/supervisor_worker.conf +++ b/conf/supervisor_worker.conf @@ -12,6 +12,8 @@ command=python tasks.py autorestart=true priority=900 stopasgroup=true +startsecs = 5 +startretries = 5 redirect_stderr=true stdout_logfile_maxbytes = 50MB