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").
This commit is contained in:
parent
cd81c9e2a7
commit
89fdd9ee0c
|
@ -125,11 +125,9 @@ for ROTATION."
|
||||||
|
|
||||||
(define (default-jobs rottlog)
|
(define (default-jobs rottlog)
|
||||||
(list #~(job '(next-hour '(0)) ;midnight
|
(list #~(job '(next-hour '(0)) ;midnight
|
||||||
(lambda ()
|
#$(file-append rottlog "/sbin/rottlog"))
|
||||||
(system* #$(file-append rottlog "/sbin/rottlog"))))
|
|
||||||
#~(job '(next-hour '(12)) ;noon
|
#~(job '(next-hour '(12)) ;noon
|
||||||
(lambda ()
|
#$(file-append rottlog "/sbin/rottlog"))))
|
||||||
(system* #$(file-append rottlog "/sbin/rottlog"))))))
|
|
||||||
|
|
||||||
(define-record-type* <rottlog-configuration>
|
(define-record-type* <rottlog-configuration>
|
||||||
rottlog-configuration make-rottlog-configuration
|
rottlog-configuration make-rottlog-configuration
|
||||||
|
|
Loading…
Reference in New Issue