5612: Wrap munge with startup script that cleans up /var/run/munge of stale
[arvados.git] / docker / api / supervisor.conf
index e85bb72658ee48dbb464a5aa088e0403c7ca1054..c5dd1e9b2f9df9c2bd6d9b989b2f9e8c8958c28b 100644 (file)
@@ -1,19 +1,21 @@
 [program:ssh]
 user=root
-command=/usr/local/bin/ssh.sh
+command=/etc/init.d/ssh start
 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
-command=/etc/init.d/munge start
+command=/usr/local/bin/munge.sh
 startsecs=0
 
 [program:slurm]
@@ -39,3 +41,4 @@ startsecs=0
 [program:crunch-dispatch]
 user=root
 command=/usr/local/bin/crunch-dispatch-run.sh
+autorestart=true