guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: hydra: berlin: Add earlyoom service.


From: Ludovic Courtès
Subject: 01/02: hydra: berlin: Add earlyoom service.
Date: Sat, 2 Dec 2023 11:25:46 -0500 (EST)

civodul pushed a commit to branch master
in repository maintenance.

commit 3a633d01b477af66c485588b290773e7cad3e4b4
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Dec 2 10:55:13 2023 +0100

    hydra: berlin: Add earlyoom service.
    
    * hydra/berlin.scm: Add ‘earlyoom-service-type’ instance.
---
 hydra/berlin.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/hydra/berlin.scm b/hydra/berlin.scm
index 952d47f..475f707 100644
--- a/hydra/berlin.scm
+++ b/hydra/berlin.scm
@@ -19,7 +19,8 @@
              ((guix build utils) #:select (find-files))
              (srfi srfi-1)
              (ice-9 match))
-(use-service-modules avahi base databases dns mcron monitoring networking admin
+(use-service-modules avahi base databases dns linux
+                     mcron monitoring networking admin
                      rsync shepherd ssh vpn web)
 (use-package-modules admin base certs databases disk emacs linux mail 
monitoring
                      screen ssh tls tor vim package-management
@@ -509,6 +510,9 @@ An incremental send is attempted if a PARENT snapshot is 
provided."
              (service avahi-service-type
                       (avahi-configuration (debug? #t)))
 
+             ;; Don't let greedy processes put the machine to its knees.
+             (service earlyoom-service-type)
+
              ;; Periodically populate the Disarchive database.  Store it
              ;; under /gnu, which is the big drive; talk directly to the
              ;; local Cuirass instance.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]