diff --git a/supervisord.conf b/supervisord.conf index 52e21fa..a6fe2bc 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -13,6 +13,7 @@ serverurl=unix:///var/run/supervisor.sock [program:postgres] command=/bin/bash -c "exec /usr/local/bin/docker-entrypoint.sh postgres -D '/var/lib/postgresql/data'" +user=root autorestart=true startsecs=5 stdout_logfile=/var/log/postgres.out.log