From 552d0703776c532f25498d5cb852c3c497cb9252 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Mon, 21 Aug 2023 12:17:49 +0800 Subject: services: mcron: Add module for %user-log-dir. * gnu/services/mcron.scm (mcron-shepherd-services)[modules]: Add (shepherd support) for home service. --- gnu/services/mcron.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu') 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") -- cgit 1.4.1