gnu: rottlog: Adjust the default 'weekly' config.
* gnu/packages/admin.scm (rottlog)[arguments]: Add 'tweak-rc-weekly' phase.
This commit is contained in:
parent
268ad34e0e
commit
309e523e8f
1 changed files with 9 additions and 0 deletions
|
@ -747,6 +747,15 @@ (define-public rottlog
|
||||||
(("packdir=\"\"")
|
(("packdir=\"\"")
|
||||||
"packdir=\"/var/log\""))
|
"packdir=\"/var/log\""))
|
||||||
#t))
|
#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
|
(add-after 'install 'install-info
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "make" "install-info")))))))
|
(zero? (system* "make" "install-info")))))))
|
||||||
|
|
Loading…
Reference in a new issue