0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

php-fpm: add reload support

Upstream recommends sending USR2 for a graceful reload.
This commit is contained in:
Peter Hoeg 2016-10-06 10:22:24 +08:00
parent 66d622fbd0
commit 47a8f1ea85

View file

@ -128,8 +128,8 @@ in {
serviceConfig = {
Type = "notify";
ExecStart = "${cfg.phpPackage}/bin/php-fpm -y ${cfgFile} -c ${phpIni}";
ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID";
};
};
};
}