3824: autorestart non-detached services regardless of exit code.
[arvados.git] / docker / api / supervisor.conf
index e85bb72658ee48dbb464a5aa088e0403c7ca1054..e684ff8c124db028ff939fb09f170669465b0096 100644 (file)
@@ -6,10 +6,12 @@ startsecs=0
 [program:postgres]
 user=postgres
 command=/usr/lib/postgresql/9.1/bin/postgres -D /var/lib/postgresql/9.1/main -c config_file=/etc/postgresql/9.1/main/postgresql.conf
+autorestart=true
 
 [program:apache2]
 command=/etc/apache2/foreground.sh
 stopsignal=6
+autorestart=true
 
 [program:munge]
 user=root
@@ -39,3 +41,4 @@ startsecs=0
 [program:crunch-dispatch]
 user=root
 command=/usr/local/bin/crunch-dispatch-run.sh
+autorestart=true