mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 03:26:13 +01:00
Add non reload option to envoy
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
460b4e1ddc
commit
59f2848e1b
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue