[PATCH] services: mcron: Log to a file.

DoneSubmitted by Christopher Baines.
Details
2 participants
  • Ludovic Courtès
  • Christopher Baines
Owner
unassigned
Severity
normal
C
C
Christopher Baines wrote on 9 May 2019 19:40
(address . guix-patches@gnu.org)
20190509174032.28180-1-mail@cbaines.net
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 tomake-forkexec-constructor.--- gnu/services/mcron.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Toggle diff (17 lines)diff --git a/gnu/services/mcron.scm b/gnu/services/mcron.scmindex 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-- 2.21.0
L
L
Ludovic Courtès wrote on 10 May 2019 15:09
(name . Christopher Baines)(address . mail@cbaines.net)(address . 35656@debbugs.gnu.org)
8736lm1mna.fsf@gnu.org
Hi,
Christopher Baines <mail@cbaines.net> skribis:
Toggle quote (5 lines)> 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.
Good idea, LGTM!
Ludo’.
C
C
Christopher Baines wrote on 13 May 2019 01:14
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 35656-done@debbugs.gnu.org)
87woivmfjh.fsf@cbaines.net
Ludovic Courtès <ludo@gnu.org> writes:
Toggle quote (11 lines)> Hi,>> Christopher Baines <mail@cbaines.net> skribis:>>> 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.>> Good idea, LGTM!
I've pushed this to master now, thanks for taking a look :)
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlzYqNJfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNFODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE9XcWxw//RgpHR3jGb/Veg5ALY9zFTUKrxJTOn4tkLVeqOrkv2pDe5b4KmdlszXy6t6tm1zdnAGrOn590VqQFGGkT6ckQrO8qs5cb9YQNB6bztiuJ2D3YHZy7kipEoAPI17FEUUv9L95w/XuFj4LMmy84ciwQcT4gv5WHtHx8OuAsk/pyCCXio2tsFbNpYK2k8DudLsTEAs/ZVZHsWcfNuzJQCUbcG7rykjH0qUlG+vUFUu7JEmhBTRkW0jwJ3YdYSSRWjPVcj1QF5VFdYg1yv/s9WByvSv3rHiyH2npJVfuKVSGMuZf2qlLP67aWeEiOd5pFwpT2m+JKjmcggmLDeJEObfZ1xi3wkjRCCb6a5WXHO/UFaFCkFFpb81TF6uhrD3Mp+MCmJPsamdXC/kwgFrn2JbAP4ZGL51PAckVi73N175eJp11esln5fxgYN5uLF69zV/Cl1KOUg3hKo7vobQHhKkUO/UWbpoqjdU/WvZ7Sv0A4eAhxA1THNnHo6vPgJ3eimzO0yVKgly1F1uXJUrZP6M4d2gHFO/+UtK5apgK0h99ibjj/urjfg3dbUPXljJbDv3TZvi9QIonk2TryEEse9WpHLsIUGtZephCXxm6Jfn904tWv//GGnM4mA4QQfkfQjC23xMSSjiwS0bENOTEDozsFlyjynSoqUeW82F5WhXe2/9o==ycwZ-----END PGP SIGNATURE-----
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 35656@debbugs.gnu.org