8000 Merge pull request #97 from supabase/fix/postgresql_log_dir · suryatmodulus/postgres@5b447b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b447b4

Browse files
authored
Merge pull request supabase#97 from supabase/fix/postgresql_log_dir
Recreate /var/log/postgresql after cleanup
2 parents 6baff5b + dd97850 commit 5b447b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/91-log_cleanup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ rm -rf /var/log/*
88
touch /var/log/auth.log
99

1010
touch /var/log/pgbouncer.log
11-
chown postgres:postgres /var/log/pgbouncer.log
11+
mkdir /var/log/postgresql
12+
chown postgres:postgres /var/log/pgbouncer.log /var/log/postgresql

0 commit comments

Comments
 (0)
0