guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: services: mcron: Add module for %user-log-dir.


From: guix-commits
Subject: branch master updated: services: mcron: Add module for %user-log-dir.
Date: Tue, 22 Aug 2023 08:26:46 -0400

This is an automated email from the git hooks/post-receive script.

hako pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 552d070377 services: mcron: Add module for %user-log-dir.
552d070377 is described below

commit 552d0703776c532f25498d5cb852c3c497cb9252
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Mon Aug 21 12:17:49 2023 +0800

    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(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]