[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: services: rottlog: Use command strings in the mcron jobs.
From: |
Ludovic Courtès |
Subject: |
01/05: services: rottlog: Use command strings in the mcron jobs. |
Date: |
Thu, 4 Oct 2018 04:28:13 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 89fdd9ee0cc8817283449b33a8c1a2604c575c7e
Author: Ludovic Courtès <address@hidden>
Date: Wed Oct 3 22:44:11 2018 +0200
services: rottlog: Use command strings in the mcron jobs.
* gnu/services/admin.scm (default-jobs): Remove the lambda around
"/…/bin/rottlog" to make "herd schedule mcron" more
transparent (otherwise it just says "Lambda function").
---
gnu/services/admin.scm | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm
index f08c896..d7bda61 100644
--- a/gnu/services/admin.scm
+++ b/gnu/services/admin.scm
@@ -125,11 +125,9 @@ for ROTATION."
(define (default-jobs rottlog)
(list #~(job '(next-hour '(0)) ;midnight
- (lambda ()
- (system* #$(file-append rottlog "/sbin/rottlog"))))
+ #$(file-append rottlog "/sbin/rottlog"))
#~(job '(next-hour '(12)) ;noon
- (lambda ()
- (system* #$(file-append rottlog "/sbin/rottlog"))))))
+ #$(file-append rottlog "/sbin/rottlog"))))
(define-record-type* <rottlog-configuration>
rottlog-configuration make-rottlog-configuration