nixos/phpfpm: always restart service on failure
This commit is contained in:
parent
54e64ac035
commit
07408cac94
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user