diff options
author | Christopher Baines <mail@cbaines.net> | 2019-05-09 18:37:45 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-05-12 18:16:37 +0100 |
commit | f8cd07e8d8acf85fd6d08646a0719178895b5894 (patch) | |
tree | edea22bfabb8be1cef3eb1a8020a1a272ebde8e4 /gnu/services/mcron.scm | |
parent | 59199e1adbd5d5f3116a2ca4b580222908f1853e (diff) | |
download | patches-f8cd07e8d8acf85fd6d08646a0719178895b5894.tar patches-f8cd07e8d8acf85fd6d08646a0719178895b5894.tar.gz |
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.
Diffstat (limited to 'gnu/services/mcron.scm')
-rw-r--r-- | gnu/services/mcron.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/mcron.scm b/gnu/services/mcron.scm index 1b232b6cba..fd84589c19 100644 --- a/gnu/services/mcron.scm +++ b/gnu/services/mcron.scm @@ -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 |