1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 13:40:36 +02:00

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

* gnu/services/mcron.scm (mcron-shepherd-services)[modules]: Add
(shepherd support) for home service.
This commit is contained in:
Hilton Chain
2023-08-21 12:17:49 +08:00
parent e318b62df3
commit 552d070377

View File

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