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
|
@ -121,7 +121,9 @@ files."
|
|||
(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 New Issue