feat(wpcarro/tarasco): Enable earlyoom
See the comment or other CLs I've made in the past about earlyoom. Change-Id: Ia4c0c61784aa3e76644de91a95e8b9fbdd743b54 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5748 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
parent
3dbfa04f21
commit
932a03e224
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ in
|
|||
};
|
||||
|
||||
services = wpcarro.common.services // {
|
||||
# Check the amount of available memory and free swap a few times per second
|
||||
# and kill the largest process if both are below 10%.
|
||||
earlyoom.enable = true;
|
||||
|
||||
tailscale.enable = true;
|
||||
|
||||
openssh.enable = true;
|
||||
|
|
Loading…
Reference in a new issue