You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# stores return value in $?
running=true
${MAMBA_RUN}${PSQL_STATUS_CMD}|| running=false
# Postgresql was probably not shutdown properly. Cleaning up the mess...if!$running;thenecho""> /home/${NB_USER}/.postgresql/logfile # empty log files
rm -vf /home/${NB_USER}/.postgresql/postmaster.pid
${MAMBA_RUN}${PSQL_START_CMD}fi
This script is run at container startup so by definition pgsql should not be running right?
At the very least the comment seems misleading. Also why are we emptying logfiles?
Should we at least rotate them?
The text was updated successfully, but these errors were encountered:
I am quite confused by this code:
This script is run at container startup so by definition pgsql should not be running right?
At the very least the comment seems misleading. Also why are we emptying logfiles?
Should we at least rotate them?
The text was updated successfully, but these errors were encountered: