git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #19281 from peterhoeg/php

php-fpm: add reload support

commit2fdda9ce0436d0f01e036f1e54ead722d2a5dfa0 authorDomen Kožar <domen@dev.si> dateThu 6 Oct 2016, 11:49 (10 years ago) parenta8b61b047a8f1e
1 file changed+1−1
nixos/modules/services/web-servers/phpfpm/default.nix+1−1
nixos/modules/services/web-servers/phpfpm/default.nix+1−1
@@ -128,8 +128,8 @@ in {
128128 serviceConfig = {
129129 Type = "notify";
130130 ExecStart = "${cfg.phpPackage}/bin/php-fpm -y ${cfgFile} -c ${phpIni}";
131+ ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID";
131132 };
132133 };
133−
134134 };
135135}