ytdlbot/conf/supervisor.conf

32 lines
515 B
Plaintext
Raw 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
2021-08-21 08:05:47 +00:00
[program:vnstat]
command=vnstatd -n
autorestart=true
2022-01-09 07:31:18 +00:00
2021-08-21 08:05:47 +00:00
[program:ytdl]
2021-12-29 08:57:06 +00:00
directory=/ytdlbot/ytdlbot/
command=python ytdl_bot.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-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