From 13c80e6ae6f66b67b079a9dffe7a32b742051a5c Mon Sep 17 00:00:00 2001 From: zenjabba Date: Thu, 17 Jan 2019 19:13:18 -0500 Subject: [PATCH] Update 40-postgres.sh https://github.com/oznu/docker-guacamole/issues/11 Fixes this issue --- root/etc/cont-init.d/40-postgres.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/root/etc/cont-init.d/40-postgres.sh b/root/etc/cont-init.d/40-postgres.sh index 92a7acb..9b766fa 100644 --- a/root/etc/cont-init.d/40-postgres.sh +++ b/root/etc/cont-init.d/40-postgres.sh @@ -1,6 +1,8 @@ #!/usr/bin/with-contenv sh mkdir -p /config/postgres +mkdir -p /var/run/postgresql +chown postgres:postgres /var/run/postgresql chown -R postgres:postgres /config/postgres chmod 0700 /config/postgres