Bladeren bron

Split supervisord.conf into /app/conf.d/*.conf

Andrew Phillips 7 jaren geleden
bovenliggende
commit
2230672ba3
8 gewijzigde bestanden met toevoegingen van 23 en 23 verwijderingen
  1. 3 0
      conf.d/demo.conf
  2. 3 0
      conf.d/fluxbox.conf
  3. 3 0
      conf.d/socat.conf
  4. 3 0
      conf.d/websockify.conf
  5. 3 0
      conf.d/x11vnc.conf
  6. 3 0
      conf.d/xterm.conf
  7. 3 0
      conf.d/xvfb.conf
  8. 2 23
      supervisord.conf

+ 3 - 0
conf.d/demo.conf

@@ -0,0 +1,3 @@
+[program:demo]
+command=xterm
+autorestart=true

+ 3 - 0
conf.d/fluxbox.conf

@@ -0,0 +1,3 @@
+[program:fluxbox]
+command=fluxbox
+autorestart=true

+ 3 - 0
conf.d/socat.conf

@@ -0,0 +1,3 @@
+[program:socat]
+command=socat tcp-listen:6000,reuseaddr,fork unix:/tmp/.X11-unix/X0
+autorestart=true

+ 3 - 0
conf.d/websockify.conf

@@ -0,0 +1,3 @@
+[program:websockify]
+command=websockify --web /usr/share/novnc 8080 localhost:5900
+autorestart=true

+ 3 - 0
conf.d/x11vnc.conf

@@ -0,0 +1,3 @@
+[program:x11vnc]
+command=x11vnc -forever
+autorestart=true

+ 3 - 0
conf.d/xterm.conf

@@ -0,0 +1,3 @@
+[program:xterm]
+command=xterm
+autorestart=true

+ 3 - 0
conf.d/xvfb.conf

@@ -0,0 +1,3 @@
+[program:xvfb]
+command=Xvfb :0 -screen 0 "%(ENV_DISPLAY_WIDTH)s"x"%(ENV_DISPLAY_HEIGHT)s"x24
+autorestart=true

+ 2 - 23
supervisord.conf

@@ -1,26 +1,5 @@
 [supervisord]
 nodaemon=true
 
-[program:X11]
-command=Xvfb :0 -screen 0 "%(ENV_DISPLAY_WIDTH)s"x"%(ENV_DISPLAY_HEIGHT)s"x24
-autorestart=true
-
-[program:x11vnc]
-command=x11vnc -forever
-autorestart=true
-
-[program:novnc]
-command=websockify --web /usr/share/novnc 8080 localhost:5900
-autorestart=true
-
-[program:socat]
-command=socat tcp-listen:6000,reuseaddr,fork unix:/tmp/.X11-unix/X0
-autorestart=true
-
-[program:fluxbox]
-command=fluxbox
-autorestart=true
-
-[program:demo]
-command=xterm
-autorestart=true
+[include]
+files = /app/conf.d/*.conf