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:
parent
66d622fbd0
commit
47a8f1ea85
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue