Create supervisord.conf
Browse files- supervisord.conf +17 -0
supervisord.conf
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[supervisord]
|
| 2 |
+
nodaemon=true
|
| 3 |
+
|
| 4 |
+
[program:postgres]
|
| 5 |
+
user=postgres
|
| 6 |
+
command=/usr/lib/postgresql/*/bin/postgres -D /var/lib/postgresql/data
|
| 7 |
+
autostart=true
|
| 8 |
+
autorestart=true
|
| 9 |
+
stdout_logfile=/dev/stdout
|
| 10 |
+
stderr_logfile=/dev/stderr
|
| 11 |
+
|
| 12 |
+
[program:sub2api]
|
| 13 |
+
command=/start.sh
|
| 14 |
+
autostart=true
|
| 15 |
+
autorestart=true
|
| 16 |
+
stdout_logfile=/dev/stdout
|
| 17 |
+
stderr_logfile=/dev/stderr
|