mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05: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:
parent
e318b62df3
commit
552d070377
1 changed files with 3 additions and 0 deletions
|
@ -165,6 +165,9 @@ (define (mcron-shepherd-services config)
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue