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:
parent
11e7463482
commit
268ad34e0e
1 changed files with 7 additions and 3 deletions
|
@ -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 _
|
||||
|
|
Loading…
Reference in a new issue