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 popen) ;for the 'schedule' action
|
||||||
(ice-9 rdelim)
|
(ice-9 rdelim)
|
||||||
(ice-9 match)
|
(ice-9 match)
|
||||||
|
,(if home-service?
|
||||||
|
'((shepherd support) #:select (%user-log-dir))
|
||||||
|
'())
|
||||||
,@%default-modules))
|
,@%default-modules))
|
||||||
(start #~(make-forkexec-constructor
|
(start #~(make-forkexec-constructor
|
||||||
(list #$(file-append mcron "/bin/mcron")
|
(list #$(file-append mcron "/bin/mcron")
|
||||||
|
|
Loading…
Reference in a new issue