Fix posgtres init script

This commit is contained in:
Calin Crisan 2019-01-25 22:54:09 +02:00
parent 29541688bf
commit f67bf5076e

View File

@ -28,6 +28,7 @@ start() {
chown -R ${USER} ${DB_DIR}
touch ${LOG}
chown ${USER} ${LOG}
cd ${DB_DIR}
if [[ ! -f ${DB_DIR}/PG_VERSION ]]; then
msg_begin "Initializing postgresql db"