postgresql/module.nix add note about creating the dataDir for postgresql
This commit is contained in:
parent
28c3385a2f
commit
c62491d253
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ in {
|
|||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_17;
|
||||
# NOTE: it is imperative to create this when starting postgresql!
|
||||
dataDir = "/srv/data/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||||
|
||||
# Whether PostgreSQL should listen on all network interfaces.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue