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 ce176ae commit 60ac765Copy full SHA for 60ac765
run.sh
@@ -1,7 +1,5 @@
1
#!/bin/bash
2
3
-set -x
4
-
5
function createPostgresConfig() {
6
cp /etc/postgresql/12/main/postgresql.custom.conf.tmpl /etc/postgresql/12/main/conf.d/postgresql.custom.conf
7
sudo -u postgres echo "autovacuum = $AUTOVACUUM" >> /etc/postgresql/12/main/conf.d/postgresql.custom.conf
@@ -23,6 +21,8 @@ if [ "$#" -ne 1 ]; then
23
21
exit 1
24
22
fi
25
+set -x
+
26
if [ "$1" = "import" ]; then
27
# Ensure that database directory is in right state
28
chown postgres:postgres -R /var/lib/postgresql
0 commit comments