mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/phpfpm: always restart service on failure
This commit is contained in:
parent
54e64ac035
commit
07408cac94
1 changed files with 1 additions and 0 deletions
|
@ -277,6 +277,7 @@ in {
|
||||||
ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID";
|
ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID";
|
||||||
RuntimeDirectory = "phpfpm";
|
RuntimeDirectory = "phpfpm";
|
||||||
RuntimeDirectoryPreserve = true; # Relevant when multiple processes are running
|
RuntimeDirectoryPreserve = true; # Relevant when multiple processes are running
|
||||||
|
Restart = "always";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
) cfg.pools;
|
) cfg.pools;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue