me
/
guix
Archived
1
0
Fork 0

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

* gnu/services/mcron.scm (mcron-shepherd-services)[modules]: Add
(shepherd support) for home service.
master
Hilton Chain 2023-08-21 12:17:49 +08:00
parent e318b62df3
commit 552d070377
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292
1 changed files with 3 additions and 0 deletions

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