mirror of
https://github.com/jwetzell/docker-guacamole.git
synced 2026-08-11 02:13:49 +00:00
12 lines
249 B
Bash
12 lines
249 B
Bash
#!/usr/bin/with-contenv sh
|
|
|
|
mkdir -p /config/postgres
|
|
chown postgres:postgres /config/postgres
|
|
chmod 0700 /config/postgres
|
|
|
|
if [ -e /config/postgres/postgresql.conf ]; then
|
|
echo "Database already configured"
|
|
else
|
|
s6-setuidgid postgres initdb
|
|
fi
|