Merge pull request #19281 from peterhoeg/php

php-fpm: add reload support
This commit is contained in:
Domen Kožar 2016-10-06 11:49:03 +02:00 committed by GitHub
commit 2fdda9ce04

View File

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