forked from the-distro/infra
postgres: fix permissions on the dataDir, it refuses 0770
This commit is contained in:
parent
2ed6f92ed8
commit
be5c6f0656
|
@ -12,8 +12,8 @@ in {
|
|||
config = lib.mkIf cfg.enable {
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/db 0755 root root - -"
|
||||
"d /var/db/postgresql 0770 postgres postgres - -"
|
||||
"d ${dataDir} 0770 postgres postgres - -"
|
||||
"d /var/db/postgresql 0750 postgres postgres - -"
|
||||
"d ${dataDir} 0750 postgres postgres - -"
|
||||
];
|
||||
|
||||
services.postgresql = {
|
||||
|
|
Loading…
Reference in a new issue