diff options
author | Hilton Chain <hako@ultrarare.space> | 2023-08-21 12:17:49 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2023-08-22 20:18:34 +0800 |
commit | 552d0703776c532f25498d5cb852c3c497cb9252 (patch) | |
tree | 28941eab77bc43cb7b442c8920fa079a44a591fe /gnu | |
parent | e318b62df361624e3bac70f658bcf5600ba5ca79 (diff) | |
download | guix-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')
-rw-r--r-- | gnu/services/mcron.scm | 3 |
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") |