Update supervisord.conf
Browse files- supervisord.conf +16 -0
supervisord.conf
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[supervisord]
|
| 2 |
+
nodaemon=true
|
| 3 |
+
user=user
|
| 4 |
+
|
| 5 |
+
[program:sshd]
|
| 6 |
+
command=/usr/sbin/sshd -D -e
|
| 7 |
+
autostart=true
|
| 8 |
+
autorestart=true
|
| 9 |
+
priority=10
|
| 10 |
+
|
| 11 |
+
[program:my_web_app]
|
| 12 |
+
; CHANGE THIS LINE to whatever your actual app start command is:
|
| 13 |
+
command=python main.py
|
| 14 |
+
autostart=true
|
| 15 |
+
autorestart=true
|
| 16 |
+
priority=20
|