ragflow / supervisord.conf
zxsipola123456's picture
Create supervisord.conf
515827a verified
raw
history blame
499 Bytes
[supervisord]
nodaemon=true
[program:mysql]
command=/usr/sbin/mysqld
autostart=true
autorestart=true
stdout_logfile=/var/log/mysql.log
stderr_logfile=/var/log/mysql_err.log
[program:nginx]
command=/usr/sbin/nginx -g 'daemon off;'
autostart=true
autorestart=true
stdout_logfile=/var/log/nginx.log
stderr_logfile=/var/log/nginx_err.log
[program:ragflow]
command=python3 /ragflow/api/app.py
autostart=true
autorestart=true
stdout_logfile=/var/log/ragflow.log
stderr_logfile=/var/log/ragflow_err.log