Skip to content
Snippets Groups Projects
Unverified Commit f8cd07e8 authored by Christopher Baines's avatar Christopher Baines
Browse files

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.
parent 59199e1a
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,9 @@ (define mcron-shepherd-services ...@@ -121,7 +121,9 @@ (define mcron-shepherd-services
(cons* "GUILE_AUTO_COMPILE=0" (cons* "GUILE_AUTO_COMPILE=0"
"PATH=/run/current-system/profile/bin" "PATH=/run/current-system/profile/bin"
(remove (cut string-prefix? "PATH=" <>) (remove (cut string-prefix? "PATH=" <>)
(environ))))) (environ)))
#:log-file "/var/log/mcron.log"))
(stop #~(make-kill-destructor)) (stop #~(make-kill-destructor))
(actions (actions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment