From 309e523e8f85e97eca07bc16721235be5ba0c2c3 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 7 Sep 2016 10:55:47 +0200 Subject: 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 f64cbce8e8..4e31b7c431 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -747,6 +747,15 @@ (define-public rottlog (("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"))))))) -- cgit v1.2.3