diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-09-07 10:51:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-09-07 11:49:47 +0200 |
commit | 268ad34e0eadf8a015798b5c5587aad65b9f3a61 (patch) | |
tree | 66ae044c30107258f16b6a9765084dd3c042c87a | |
parent | 11e7463482cd64789008618a647725ae0b2a81e6 (diff) | |
download | guix-268ad34e0eadf8a015798b5c5587aad65b9f3a61.tar.gz |
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.
-rw-r--r-- | gnu/packages/admin.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index c60ad308c1..f64cbce8e8 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -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 _ |