Fix: postgresql (not) starts after container restart
This commit is contained in:
parent
db5f6799f0
commit
52d5f0b4b2
3
run.sh
3
run.sh
@ -50,6 +50,9 @@ fi
|
|||||||
if [ "$1" = "run" ]; then
|
if [ "$1" = "run" ]; then
|
||||||
# Clean /tmp
|
# Clean /tmp
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|
||||||
|
# Fix postgres data privileges
|
||||||
|
chown postgres:postgres /var/lib/postgresql -R
|
||||||
|
|
||||||
# Initialize PostgreSQL and Apache
|
# Initialize PostgreSQL and Apache
|
||||||
CreatePostgressqlConfig
|
CreatePostgressqlConfig
|
||||||
|
Loading…
Reference in New Issue
Block a user