ytdlbot/conf/supervisor_worker.conf

34 lines
545 B
Text
Raw Normal View History

2021-08-21 16:05:47 +08:00
[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
user=root
2022-01-09 15:31:18 +08:00
2023-01-05 01:25:17 +08:00
[program:vnstat]
command=vnstatd -n
autorestart=true
2022-01-09 15:31:18 +08:00
2022-01-25 09:32:42 +08:00
[program:worker]
2021-12-29 16:57:06 +08:00
directory=/ytdlbot/ytdlbot/
2022-01-25 09:32:42 +08:00
command=python tasks.py
2021-08-21 16:05:47 +08:00
autorestart=true
2022-01-09 15:31:18 +08:00
priority=900
2022-01-09 22:59:32 +08:00
stopasgroup=true
2022-03-12 15:16:30 +08:00
startsecs = 5
startretries = 5
2022-01-09 15:31:18 +08: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 16:05:47 +08:00
2021-12-29 16:57:06 +08:00
redirect_stderr=true
2021-08-21 16:05:47 +08:00
stdout_logfile=/dev/fd/1
2023-01-05 01:25:17 +08:00
stdout_logfile_maxbytes=0