diff --git a/start b/start index 98ba492..7fb6010 100755 --- a/start +++ b/start @@ -136,5 +136,5 @@ if [ -n "${DB_NAME}" ]; then fi echo "Starting PostgreSQL server..." -exec sudo -u postgres -H ${PG_BINDIR}/postgres \ +exec gosu postgres ${PG_BINDIR}/postgres \ -D ${PG_DATADIR} -c config_file=${PG_CONFDIR}/postgresql.conf