Another missing sudo

This commit is contained in:
Dave Page
2023-03-29 18:32:11 +01:00
committed by GitHub
parent 1527daede8
commit bbc46c0990

View File

@@ -33,7 +33,7 @@ jobs:
- name: Start PostgreSQL
run: |
sudo echo -e "local all all trust\n$(cat /etc/postgresql/15/main/pg_hba.conf)" > /etc/postgresql/15/main/pg_hba.conf
sudo echo -e "local all all trust\n$(sudo cat /etc/postgresql/15/main/pg_hba.conf)" > /etc/postgresql/15/main/pg_hba.conf
sudo echo "shared_preload_libraries = '$libdir/plugin_debugger'" > /etc/postgresql/15/main/postgresql.auto.conf
su - postgres -c '/usr/lib/postgresql/15/bin/postgres -D /var/lib/postgresql/15/main -c config_file=/etc/postgresql/15/main/postgresql.conf &'