gnu: rottlog: Read configuration files from /etc/rottlog.

* gnu/packages/admin.scm (rottlog)[arguments]: Set
ROTT_ETCDIR=/etc/rottlog in #:configure-flags and add #:make-flags.
This commit is contained in:
Ludovic Courtès 2016-09-07 10:51:56 +02:00
parent 11e7463482
commit 268ad34e0e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -731,10 +731,14 @@ (define-public rottlog
"true")))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags (list (string-append "ROTT_ETCDIR="
(assoc-ref %outputs "out")
"/etc")
'(#:configure-flags (list "ROTT_ETCDIR=/etc/rottlog" ;rc file location
"--localstatedir=/var")
;; Install example config files in OUT/etc.
#:make-flags (list (string-append "ROTT_ETCDIR="
(assoc-ref %outputs "out")
"/etc"))
#:phases (modify-phases %standard-phases
(add-after 'build 'set-packdir
(lambda _