Browse Source

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.
gn-latest-20200428
Christopher Baines 2 years ago
parent
commit
f8cd07e8d8
No known key found for this signature in database GPG Key ID: 5E28A33B0B84F577
  1. 4
      gnu/services/mcron.scm

4
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

Loading…
Cancel
Save