Skip to content

Commit 60ac765

Browse files
committed
Don't clutter output of usage instructions
1 parent ce176ae commit 60ac765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22

3-
set -x
4-
53
function createPostgresConfig() {
64
cp /etc/postgresql/12/main/postgresql.custom.conf.tmpl /etc/postgresql/12/main/conf.d/postgresql.custom.conf
75
sudo -u postgres echo "autovacuum = $AUTOVACUUM" >> /etc/postgresql/12/main/conf.d/postgresql.custom.conf
@@ -23,6 +21,8 @@ if [ "$#" -ne 1 ]; then
2321
exit 1
2422
fi
2523

24+
set -x
25+
2626
if [ "$1" = "import" ]; then
2727
# Ensure that database directory is in right state
2828
chown postgres:postgres -R /var/lib/postgresql

0 commit comments

Comments
 (0)