0
0
Fork 0
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:
Peter Hoeg 2020-08-31 21:19:54 +08:00
parent 54e64ac035
commit 07408cac94

View file

@ -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;