Spaces:
Sleeping
Sleeping
Update supervisord.conf
Browse files- supervisord.conf +3 -2
supervisord.conf
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 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
|
|
@@ -9,8 +10,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
|
|
|
|
| 2 |
nodaemon=true
|
| 3 |
logfile=/var/log/supervisor/supervisord.log
|
| 4 |
pidfile=/var/run/supervisord.pid
|
| 5 |
+
user=root
|
| 6 |
|
| 7 |
[program:node-app]
|
| 8 |
command=node server/dist/index.js
|
|
|
|
| 10 |
autostart=true
|
| 11 |
autorestart=true
|
| 12 |
redirect_stderr=true
|
| 13 |
+
stdout_logfile=/var/log/supervisor/node-app.log
|
| 14 |
+
stdout_logfile_maxbytes=50MB
|
| 15 |
|
| 16 |
[program:cron]
|
| 17 |
command=cron -f
|