diff options
author | danbst <abcz2.uprola@gmail.com> | 2015-07-24 01:41:32 +0000 |
---|---|---|
committer | danbst <abcz2.uprola@gmail.com> | 2015-07-24 01:41:32 +0000 |
commit | 26d5a1fc62866812bb142cd228752c33bbbab214 (patch) | |
tree | 108f08cfb0001d718f9077fd358d74a7e047a069 | |
parent | af71fbc6f1ee86dfe40d8a92eb4fd4a21414e3e4 (diff) |
postgresql: add reload command
-rw-r--r-- | nixos/modules/services/databases/postgresql.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix index 97927055ce376..4cff2818f3bfa 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -207,6 +207,7 @@ in serviceConfig = { ExecStart = "@${postgresql}/bin/postgres postgres ${toString flags}"; + ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; User = "postgres"; Group = "postgres"; PermissionsStartOnly = true; |