summaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-09-07 10:51:56 +0200
committerLudovic Courtès <ludo@gnu.org>2016-09-07 11:49:47 +0200
commit268ad34e0eadf8a015798b5c5587aad65b9f3a61 (patch)
tree66ae044c30107258f16b6a9765084dd3c042c87a /gnu/packages/admin.scm
parent11e7463482cd64789008618a647725ae0b2a81e6 (diff)
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.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm10
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 _