Subham9126 commited on
Commit
223a0fe
·
verified ·
1 Parent(s): f90ce94

Create supervisord.conf

Browse files
Files changed (1) hide show
  1. supervisord.conf +33 -0
supervisord.conf ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [supervisord]
2
+ nodaemon=true
3
+ logfile=/var/log/supervisor/supervisord.log
4
+
5
+ [program:redpanda]
6
+ command=rpk redpanda start --config /etc/redpanda/redpanda.yaml
7
+ user=redpanda
8
+ autostart=true
9
+ autorestart=true
10
+ startretries=5
11
+ startsecs=5
12
+ stdout_logfile=/var/log/redpanda.log
13
+ stderr_logfile=/var/log/redpanda-err.log
14
+ priority=1
15
+
16
+ [program:console]
17
+ command=redpanda-console
18
+ environment=CONFIG_FILEPATH="/etc/redpanda/console.yaml"
19
+ autostart=true
20
+ autorestart=true
21
+ startsecs=10
22
+ stdout_logfile=/var/log/console.log
23
+ stderr_logfile=/var/log/console-err.log
24
+ priority=2
25
+
26
+ [program:nginx]
27
+ command=nginx -g "daemon off;"
28
+ autostart=true
29
+ autorestart=true
30
+ startsecs=15
31
+ stdout_logfile=/var/log/nginx.log
32
+ stderr_logfile=/var/log/nginx-err.log
33
+ priority=3