mirror of
https://github.com/djimboy/djimbo_template_aio3.git
synced 2026-07-25 09:44:29 +00:00
Update aiogram 3 template
This commit is contained in:
+8
-7
@@ -1,12 +1,13 @@
|
||||
# supervisorctl
|
||||
# Пример конфига для supervisorctl
|
||||
[program:dj_bot]
|
||||
directory=/root/djimbo_template/
|
||||
command=python3.10 main.py
|
||||
directory=/path/to/djimbo_template/
|
||||
command=python3.11 -u main.py
|
||||
environment=PYTHONUNBUFFERED="1"
|
||||
|
||||
autostart=True
|
||||
autorestart=True
|
||||
|
||||
stderr_logfile=/root/djimbo_template/tgbot/data/sv_log_err.log
|
||||
; stderr_logfile_maxbytes=10MB
|
||||
stdout_logfile=/root/djimbo_template/tgbot/data/sv_log_out.log
|
||||
; stdout_logfile_maxbytes=10MB
|
||||
stderr_logfile=/path/to/djimbo_template/tgbot/data/sv_log_err.log
|
||||
stderr_logfile_maxbytes=50MB
|
||||
stdout_logfile=/path/to/djimbo_template/tgbot/data/sv_log_out.log
|
||||
stdout_logfile_maxbytes=50MB
|
||||
|
||||
Reference in New Issue
Block a user