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:
Christopher Baines 2019-05-09 18:37:45 +01:00
parent 59199e1adb
commit f8cd07e8d8
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577

@ -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