Add non reload option to envoy

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-05-02 14:44:42 +02:00
parent 460b4e1ddc
commit 59f2848e1b
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -155,7 +155,7 @@ in
environment = value.environment; environment = value.environment;
serviceConfig = { serviceConfig = {
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; ExecReload = if value.hotRestart then "${pkgs.coreutils}/bin/kill -HUP $MAINPID" else null;
KillMode = "control-group"; KillMode = "control-group";
KillSignal = "SIGINT"; KillSignal = "SIGINT";
LimitNOFILE = 65536; LimitNOFILE = 65536;