Skip to content

Commit

Permalink
Don't clutter output of usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Overv committed Sep 3, 2021
1 parent ce176ae commit 60ac765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

set -x

function createPostgresConfig() {
cp /etc/postgresql/12/main/postgresql.custom.conf.tmpl /etc/postgresql/12/main/conf.d/postgresql.custom.conf
sudo -u postgres echo "autovacuum = $AUTOVACUUM" >> /etc/postgresql/12/main/conf.d/postgresql.custom.conf
Expand All @@ -23,6 +21,8 @@ if [ "$#" -ne 1 ]; then
exit 1
fi

set -x

if [ "$1" = "import" ]; then
# Ensure that database directory is in right state
chown postgres:postgres -R /var/lib/postgresql
Expand Down

0 comments on commit 60ac765

Please sign in to comment.