Spaces:
Paused
Paused
Create supervisord.conf
Browse files- supervisord.conf +23 -0
supervisord.conf
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[supervisord]
|
| 2 |
+
nodaemon=true
|
| 3 |
+
|
| 4 |
+
[program:mysql]
|
| 5 |
+
command=/usr/sbin/mysqld
|
| 6 |
+
autostart=true
|
| 7 |
+
autorestart=true
|
| 8 |
+
stdout_logfile=/var/log/mysql.log
|
| 9 |
+
stderr_logfile=/var/log/mysql_err.log
|
| 10 |
+
|
| 11 |
+
[program:nginx]
|
| 12 |
+
command=/usr/sbin/nginx -g 'daemon off;'
|
| 13 |
+
autostart=true
|
| 14 |
+
autorestart=true
|
| 15 |
+
stdout_logfile=/var/log/nginx.log
|
| 16 |
+
stderr_logfile=/var/log/nginx_err.log
|
| 17 |
+
|
| 18 |
+
[program:ragflow]
|
| 19 |
+
command=python3 /ragflow/api/app.py
|
| 20 |
+
autostart=true
|
| 21 |
+
autorestart=true
|
| 22 |
+
stdout_logfile=/var/log/ragflow.log
|
| 23 |
+
stderr_logfile=/var/log/ragflow_err.log
|