We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cffbd7b commit 5572c97Copy full SHA for 5572c97
run.sh
@@ -42,6 +42,8 @@ fi
42
43
if [ "$1" == "import" ]; then
44
# Ensure that database directory is in right state
45
+ mkdir -p /data/database/postgres/
46
+ chown renderer: /data/database/
47
chown -R postgres: /var/lib/postgresql /data/database/postgres/
48
if [ ! -f /data/database/postgres/PG_VERSION ]; then
49
sudo -u postgres /usr/lib/postgresql/14/bin/pg_ctl -D /data/database/postgres/ initdb -o "--locale C.UTF-8"
0 commit comments