Fix: postgresql (not) starts after container restart

This commit is contained in:
Vojtech Pithart 2019-06-18 12:55:51 +02:00
parent db5f6799f0
commit 52d5f0b4b2

3
run.sh
View File

@ -50,6 +50,9 @@ fi
if [ "$1" = "run" ]; then
# Clean /tmp
rm -rf /tmp/*
# Fix postgres data privileges
chown postgres:postgres /var/lib/postgresql -R
# Initialize PostgreSQL and Apache
CreatePostgressqlConfig