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
parent
11e7463482
commit
268ad34e0e
|
@ -731,10 +731,14 @@ over ssh connections.")
|
||||||
"true")))))
|
"true")))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags (list (string-append "ROTT_ETCDIR="
|
'(#:configure-flags (list "ROTT_ETCDIR=/etc/rottlog" ;rc file location
|
||||||
(assoc-ref %outputs "out")
|
|
||||||
"/etc")
|
|
||||||
"--localstatedir=/var")
|
"--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
|
#:phases (modify-phases %standard-phases
|
||||||
(add-after 'build 'set-packdir
|
(add-after 'build 'set-packdir
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in New Issue