Merge pull request #96769 from peterhoeg/m/phpfpm

nixos/phpfpm: always restart service on failure
gstqt5
Peter Hoeg 2020-09-06 21:41:38 +08:00 committed by GitHub
commit 6e22c6ea6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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;