From 754fe4ca1e8b405034365efa928959895fe0a663 Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 16 May 2025 19:34:33 +0800 Subject: [PATCH] . --- supervisord.conf | 1 + 1 file changed, 1 insertion(+) 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