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";
|
||||
RuntimeDirectory = "phpfpm";
|
||||
RuntimeDirectoryPreserve = true; # Relevant when multiple processes are running
|
||||
Restart = "always";
|
||||
};
|
||||
}
|
||||
) cfg.pools;
|
||||
|
|
Loading…
Reference in a new issue