summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2023-08-22 21:37:41 +0800
committerHilton Chain <hako@ultrarare.space>2023-08-22 21:37:41 +0800
commit0c4fb8f43f8aba2dcabe1bc97a8f6d8d41057704 (patch)
tree97ef6ff95bd5f86c402e4325a6bf00e126922482 /gnu/services
parent552d0703776c532f25498d5cb852c3c497cb9252 (diff)
downloadguix-0c4fb8f43f8aba2dcabe1bc97a8f6d8d41057704.tar.gz
services: mcron: Use (shepherd support) module unconditionally.
This fixes a issue introduced in the previous commit 552d0703776c (services:
mcron: Add module for %user-log-dir.)  which made the expression invalid when
using a '() module for the system service.

* gnu/services/mcron.scm (mcron-shepherd-services)[modules]: Use
(shepherd support) unconditionally.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/mcron.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/services/mcron.scm b/gnu/services/mcron.scm
index eff40e74bd..cea68beef8 100644
--- a/gnu/services/mcron.scm
+++ b/gnu/services/mcron.scm
@@ -165,9 +165,7 @@ files."
                             (ice-9 popen) ;for the 'schedule' action
                             (ice-9 rdelim)
                             (ice-9 match)
-                            ,(if home-service?
-                                 '((shepherd support) #:select (%user-log-dir))
-                                 '())
+                            ((shepherd support) #:select (%user-log-dir))
                             ,@%default-modules))
                  (start #~(make-forkexec-constructor
                            (list #$(file-append mcron "/bin/mcron")