From b20bcc50abdf385b2b55ff516458892801118623 Mon Sep 17 00:00:00 2001 From: Stuart Cardall Date: Mon, 5 Sep 2016 14:28:15 +0000 Subject: community/runit: improve abuild and runscript, add "provide logger" If socklog is installed, then runit starts it and so provides a logger service. We need "provides logger" here to prevent OpenRC from starting Busybox's syslog when socklog is used (crond needs logger). --- community/runit/runit.initd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'community/runit/runit.initd') diff --git a/community/runit/runit.initd b/community/runit/runit.initd index 2f3a0968dc..257ae60512 100644 --- a/community/runit/runit.initd +++ b/community/runit/runit.initd @@ -8,7 +8,10 @@ description="starts and monitors a collection of runsv(8) processes" retry="SIGHUP/5" depend() { - need localmount - after firewall + need localmount + after firewall + if [ -x /sbin/socklog ]; then + provide logger + fi } -- cgit v1.2.3