summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2023-08-21 12:17:49 +0800
committerHilton Chain <hako@ultrarare.space>2023-08-22 20:18:34 +0800
commit552d0703776c532f25498d5cb852c3c497cb9252 (patch)
tree28941eab77bc43cb7b442c8920fa079a44a591fe /gnu/services
parente318b62df361624e3bac70f658bcf5600ba5ca79 (diff)
downloadguix-552d0703776c532f25498d5cb852c3c497cb9252.tar.gz
services: mcron: Add module for %user-log-dir.
* gnu/services/mcron.scm (mcron-shepherd-services)[modules]: Add
(shepherd support) for home service.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/mcron.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/services/mcron.scm b/gnu/services/mcron.scm
index db8b539ff5..eff40e74bd 100644
--- a/gnu/services/mcron.scm
+++ b/gnu/services/mcron.scm
@@ -165,6 +165,9 @@ files."
                             (ice-9 popen) ;for the 'schedule' action
                             (ice-9 rdelim)
                             (ice-9 match)
+                            ,(if home-service?
+                                 '((shepherd support) #:select (%user-log-dir))
+                                 '())
                             ,@%default-modules))
                  (start #~(make-forkexec-constructor
                            (list #$(file-append mcron "/bin/mcron")