Merge pull request #96769 from peterhoeg/m/phpfpm

nixos/phpfpm: always restart service on failure
This commit is contained in:
Peter Hoeg
2020-09-06 21:41:38 +08:00
committed by GitHub

View File

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