fixup postgresql permissions

This commit is contained in:
eyjhb 2024-08-24 21:36:56 +02:00
parent 4497cbb9c3
commit 0201eed966
No known key found for this signature in database
GPG key ID: 609F508E3239F920

View file

@ -14,7 +14,7 @@ in {
# ensure correct permissions for postgresql and postgresql backup # ensure correct permissions for postgresql and postgresql backup
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"Z ${stateDir} 0770 ${postgresql_user} ${postgresql_group} -" "Z ${stateDir} 0700 ${postgresql_user} ${postgresql_group} -"
"Z ${backupDir} 0770 ${postgresql_user} ${postgresql_group} -" "Z ${backupDir} 0700 ${postgresql_user} ${postgresql_group} -"
]; ];
} }