services: earlyoom: Move 'user-processes' to 'requirements'.

Fixes a regression introduced in
9c34b793c1.

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

Reported-by: Attila Lendvai <attila@lendvai.name>
This commit is contained in:
Ludovic Courtès 2023-08-21 17:05:20 +02:00
parent 6d13afcd7a
commit 69d8d0a719
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -173,7 +173,8 @@ (define (earlyoom-configuration->command-line-args config)
(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"))