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.
master
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
1 changed files with 7 additions and 3 deletions

View File

@ -731,10 +731,14 @@ over ssh connections.")
"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 _