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