guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/06: gnu: rottlog: Read configuration files from /etc/rottlog.


From: Ludovic Courtès
Subject: 03/06: gnu: rottlog: Read configuration files from /etc/rottlog.
Date: Wed, 7 Sep 2016 09:50:03 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 268ad34e0eadf8a015798b5c5587aad65b9f3a61
Author: Ludovic Courtès <address@hidden>
Date:   Wed Sep 7 10:51:56 2016 +0200

    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.
---
 gnu/packages/admin.scm |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index c60ad30..f64cbce 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 _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]