ytdlbot/conf/supervisor_worker.conf

30 lines
491 B
Plaintext
Raw Permalink Normal View History

2021-08-21 08:05:47 +00:00
[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
user=root
2022-01-09 07:31:18 +00:00
2022-01-25 01:32:42 +00:00
[program:worker]
2021-12-29 08:57:06 +00:00
directory=/ytdlbot/ytdlbot/
2022-01-25 01:32:42 +00:00
command=python tasks.py
2021-08-21 08:05:47 +00:00
autorestart=true
2022-01-09 07:31:18 +00:00
priority=900
2022-01-09 14:59:32 +00:00
stopasgroup=true
2022-03-12 07:16:30 +00:00
startsecs = 5
startretries = 5
2022-01-09 07:31:18 +00:00
redirect_stderr=true
stdout_logfile_maxbytes = 50MB
stdout_logfile_backups = 2
stdout_logfile = /var/log/ytdl.log
[program:log]
command=tail -f /var/log/ytdl.log
autorestart=true
priority=999
2021-08-21 08:05:47 +00:00
2021-12-29 08:57:06 +00:00
redirect_stderr=true
2021-08-21 08:05:47 +00:00
stdout_logfile=/dev/fd/1
2021-12-29 08:57:06 +00:00
stdout_logfile_maxbytes=0