use systemd.tmpfiles to manage folder permissions
This commit is contained in:
@@ -296,5 +296,9 @@
|
||||
dataDir = "/tank/services/sql";
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${config.services.postgresql.dataDir} 0700 postgres postgres"
|
||||
];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user