Spaces:
Runtime error
Runtime error
Update supervisord.conf
Browse files- supervisord.conf +2 -15
supervisord.conf
CHANGED
|
@@ -1,21 +1,8 @@
|
|
| 1 |
-
[supervisord]
|
| 2 |
-
nodaemon=true
|
| 3 |
-
logfile=/var/log/supervisor/supervisord.log
|
| 4 |
-
pidfile=/var/run/supervisord.pid
|
| 5 |
-
|
| 6 |
[program:node-app]
|
| 7 |
command=node server/dist/index.js
|
| 8 |
directory=/app
|
| 9 |
autostart=true
|
| 10 |
autorestart=true
|
| 11 |
redirect_stderr=true
|
| 12 |
-
stdout_logfile=/
|
| 13 |
-
stdout_logfile_maxbytes=
|
| 14 |
-
|
| 15 |
-
[program:cron]
|
| 16 |
-
command=cron -f
|
| 17 |
-
autostart=true
|
| 18 |
-
autorestart=false
|
| 19 |
-
redirect_stderr=true
|
| 20 |
-
stdout_logfile=/var/log/supervisor/cron.log
|
| 21 |
-
stdout_logfile_maxbytes=10MB
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[program:node-app]
|
| 2 |
command=node server/dist/index.js
|
| 3 |
directory=/app
|
| 4 |
autostart=true
|
| 5 |
autorestart=true
|
| 6 |
redirect_stderr=true
|
| 7 |
+
stdout_logfile=/dev/fd/1
|
| 8 |
+
stdout_logfile_maxbytes=0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|