diff --git a/vm-image-spec.yaml b/vm-image-spec.yaml index 16ceb06617..92a893b3a0 100644 --- a/vm-image-spec.yaml +++ b/vm-image-spec.yaml @@ -18,7 +18,7 @@ commands: sysvInitAction: respawn shell: '/bin/sql_exporter -config.file=/etc/sql_exporter.yml' shutdownHook: | - su -p postgres --session-command '/usr/local/bin/pg_ctl stop -D /var/db/postgres/compute/pgdata -m fast --wait -t 10' + su -p postgres --session-command '/usr/local/bin/pg_ctl stop -D /var/db/postgres/compute/pgdata -m immediate --wait -t 10' files: - filename: pgbouncer.ini content: |