mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
services: mcron: Log to a file.
This makes it easier to read the output, as it's recorded in a file. * gnu/services/mcron.scm (mcron-shepherd-services): Add #:log-file to make-forkexec-constructor.
This commit is contained in:
parent
59199e1adb
commit
f8cd07e8d8
1 changed files with 3 additions and 1 deletions
|
@ -121,7 +121,9 @@ (define mcron-shepherd-services
|
|||
(cons* "GUILE_AUTO_COMPILE=0"
|
||||
"PATH=/run/current-system/profile/bin"
|
||||
(remove (cut string-prefix? "PATH=" <>)
|
||||
(environ)))))
|
||||
(environ)))
|
||||
|
||||
#:log-file "/var/log/mcron.log"))
|
||||
(stop #~(make-kill-destructor))
|
||||
|
||||
(actions
|
||||
|
|
Loading…
Reference in a new issue