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 /nixos/modules | |
parent | af71fbc6f1ee86dfe40d8a92eb4fd4a21414e3e4 (diff) | |
download | nixlib-26d5a1fc62866812bb142cd228752c33bbbab214.tar nixlib-26d5a1fc62866812bb142cd228752c33bbbab214.tar.gz nixlib-26d5a1fc62866812bb142cd228752c33bbbab214.tar.bz2 nixlib-26d5a1fc62866812bb142cd228752c33bbbab214.tar.lz nixlib-26d5a1fc62866812bb142cd228752c33bbbab214.tar.xz nixlib-26d5a1fc62866812bb142cd228752c33bbbab214.tar.zst nixlib-26d5a1fc62866812bb142cd228752c33bbbab214.zip |
postgresql: add reload command
Diffstat (limited to 'nixos/modules')
-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 97927055ce37..4cff2818f3bf 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; |