aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixops/modules/databases/postgresql.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/nixops/modules/databases/postgresql.nix b/nixops/modules/databases/postgresql.nix
index 37fcc14..de0820f 100644
--- a/nixops/modules/databases/postgresql.nix
+++ b/nixops/modules/databases/postgresql.nix
@@ -30,11 +30,8 @@ in {
30 ''; 30 '';
31 }; 31 };
32 32
33 system.activationScripts.postgresql = ''
34 install -m 0755 -o postgres -g postgres -d ${myconfig.env.databases.postgresql.socket}
35 '';
36
37 systemd.services.postgresql.serviceConfig.SupplementaryGroups = "keys"; 33 systemd.services.postgresql.serviceConfig.SupplementaryGroups = "keys";
34 systemd.services.postgresql.serviceConfig.RuntimeDirectory = "postgresql";
38 services.postgresql = rec { 35 services.postgresql = rec {
39 enable = cfg.postgresql.enable; 36 enable = cfg.postgresql.enable;
40 package = pkgs.postgresql; 37 package = pkgs.postgresql;