Spaces:
Sleeping
Sleeping
app
Browse files- supervisord.conf +8 -8
supervisord.conf
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
[supervisord]
|
| 2 |
nodaemon=true
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
|
| 13 |
[program:app]
|
| 14 |
command=python app.py
|
|
|
|
| 1 |
[supervisord]
|
| 2 |
nodaemon=true
|
| 3 |
|
| 4 |
+
[program:main]
|
| 5 |
+
command=python main.py
|
| 6 |
+
stdout_logfile=/dev/stdout
|
| 7 |
+
stdout_logfile_maxbytes=0
|
| 8 |
+
stderr_logfile=/dev/stderr
|
| 9 |
+
stderr_logfile_maxbytes=0
|
| 10 |
+
autostart=true
|
| 11 |
+
autorestart=true
|
| 12 |
|
| 13 |
[program:app]
|
| 14 |
command=python app.py
|