fixup postgresql permissions
This commit is contained in:
parent
4497cbb9c3
commit
0201eed966
1 changed files with 2 additions and 2 deletions
|
@ -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} -"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue