[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: rottlog: Adjust the default 'weekly' config.
From: |
Ludovic Courtès |
Subject: |
04/06: gnu: rottlog: Adjust the default 'weekly' config. |
Date: |
Wed, 7 Sep 2016 09:50:03 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 309e523e8f85e97eca07bc16721235be5ba0c2c3
Author: Ludovic Courtès <address@hidden>
Date: Wed Sep 7 10:55:47 2016 +0200
gnu: rottlog: Adjust the default 'weekly' config.
* gnu/packages/admin.scm (rottlog)[arguments]: Add 'tweak-rc-weekly'
phase.
---
gnu/packages/admin.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index f64cbce..4e31b7c 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -747,6 +747,15 @@ over ssh connections.")
(("packdir=\"\"")
"packdir=\"/var/log\""))
#t))
+ (add-before 'install 'tweak-rc-weekly
+ (lambda _
+ (substitute* "rc/weekly"
+ (("/bin/kill")
+ (which "kill"))
+ (("syslogd\\.pid")
+ ;; The file is called 'syslog.pid' (no 'd').
+ "syslog.pid"))
+ #t))
(add-after 'install 'install-info
(lambda _
(zero? (system* "make" "install-info")))))))
- branch master updated (b393a44 -> afa54a3), Ludovic Courtès, 2016/09/07
- 04/06: gnu: rottlog: Adjust the default 'weekly' config.,
Ludovic Courtès <=
- 02/06: gnu: rottlog: Set default value for 'packdir'., Ludovic Courtès, 2016/09/07
- 05/06: gnu: inetutils: Use /var as the localstatedir., Ludovic Courtès, 2016/09/07
- 03/06: gnu: rottlog: Read configuration files from /etc/rottlog., Ludovic Courtès, 2016/09/07
- 06/06: services: syslog: Use a PID file., Ludovic Courtès, 2016/09/07
- 01/06: gnu: rottlog: Use 'modify-phases'., Ludovic Courtès, 2016/09/07