summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-08-21 17:05:20 +0200
committerLudovic Courtès <ludo@gnu.org>2023-08-21 17:29:50 +0200
commit69d8d0a71964cc2f382da91090d61668189579e8 (patch)
treee64ae690948ac2398c0ce112cbc1467cbdf2cac3 /gnu
parent6d13afcd7a05e05860835833cca4b2d1f4750fc5 (diff)
downloadguix-69d8d0a71964cc2f382da91090d61668189579e8.tar.gz
services: earlyoom: Move 'user-processes' to 'requirements'.
Fixes a regression introduced in
9c34b793c10cdb50235b876dea5be700ab5600dc.

* gnu/services/linux.scm (earlyoom-shepherd-service): Move
'user-processes' to 'requirements'.

Reported-by: Attila Lendvai <attila@lendvai.name>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/linux.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/linux.scm b/gnu/services/linux.scm
index 081764950c..7375a1573e 100644
--- a/gnu/services/linux.scm
+++ b/gnu/services/linux.scm
@@ -173,7 +173,8 @@ representation."
 (define (earlyoom-shepherd-service config)
   (shepherd-service
    (documentation "Run the Early OOM daemon.")
-   (provision '(earlyoom user-processes))
+   (provision '(earlyoom))
+   (requirement '(user-processes))
    (start #~(make-forkexec-constructor
              '#$(earlyoom-configuration->command-line-args config)
              #:log-file "/var/log/earlyoom.log"))