postgresql: add reload command

This commit is contained in:
danbst 2015-07-24 01:41:32 +00:00
parent af71fbc6f1
commit 26d5a1fc62
1 changed files with 1 additions and 0 deletions

View File

@ -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;