Update supervisord.conf
Browse files- supervisord.conf +22 -16
supervisord.conf
CHANGED
|
@@ -1,33 +1,39 @@
|
|
| 1 |
[supervisord]
|
| 2 |
nodaemon=true
|
| 3 |
-
logfile=/
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
[program:redpanda]
|
| 6 |
-
command=rpk redpanda start --config /
|
| 7 |
-
user=
|
| 8 |
autostart=true
|
| 9 |
autorestart=true
|
| 10 |
startretries=5
|
| 11 |
startsecs=5
|
| 12 |
-
stdout_logfile=/
|
| 13 |
-
stderr_logfile=/
|
| 14 |
-
priority=
|
| 15 |
|
| 16 |
[program:console]
|
| 17 |
-
command=redpanda-console
|
| 18 |
-
|
| 19 |
autostart=true
|
| 20 |
autorestart=true
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
| 25 |
|
| 26 |
[program:nginx]
|
| 27 |
command=nginx -g "daemon off;"
|
|
|
|
| 28 |
autostart=true
|
| 29 |
autorestart=true
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
| 1 |
[supervisord]
|
| 2 |
nodaemon=true
|
| 3 |
+
logfile=/home/rpuser/logs/supervisord.log
|
| 4 |
+
logfile_maxbytes=10MB
|
| 5 |
+
pidfile=/home/rpuser/logs/supervisord.pid
|
| 6 |
+
user=rpuser
|
| 7 |
|
| 8 |
[program:redpanda]
|
| 9 |
+
command=rpk redpanda start --config /home/rpuser/redpanda.yaml
|
| 10 |
+
user=rpuser
|
| 11 |
autostart=true
|
| 12 |
autorestart=true
|
| 13 |
startretries=5
|
| 14 |
startsecs=5
|
| 15 |
+
stdout_logfile=/home/rpuser/logs/redpanda.log
|
| 16 |
+
stderr_logfile=/home/rpuser/logs/redpanda-err.log
|
| 17 |
+
priority=10
|
| 18 |
|
| 19 |
[program:console]
|
| 20 |
+
command=redpanda-console --config.filepath /home/rpuser/console.yaml
|
| 21 |
+
user=rpuser
|
| 22 |
autostart=true
|
| 23 |
autorestart=true
|
| 24 |
+
startretries=5
|
| 25 |
+
startsecs=20
|
| 26 |
+
stdout_logfile=/home/rpuser/logs/console.log
|
| 27 |
+
stderr_logfile=/home/rpuser/logs/console-err.log
|
| 28 |
+
priority=20
|
| 29 |
|
| 30 |
[program:nginx]
|
| 31 |
command=nginx -g "daemon off;"
|
| 32 |
+
user=rpuser
|
| 33 |
autostart=true
|
| 34 |
autorestart=true
|
| 35 |
+
startretries=5
|
| 36 |
+
startsecs=25
|
| 37 |
+
stdout_logfile=/home/rpuser/logs/nginx.log
|
| 38 |
+
stderr_logfile=/home/rpuser/logs/nginx-err.log
|
| 39 |
+
priority=30
|