Summary: | dns/unbound: Silence unbound-checkconf during startup | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Nick Hibma <nick> |
Component: | Individual Port(s) | Assignee: | Sergey Matveychuk <sem> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Nick Hibma
2014-01-28 12:30:00 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs ports PR. Responsible Changed From-To: freebsd-ports-bugs->sem Over to maintainer (via the GNATS Auto Assign Tool) Why? Apache, for example, don't hide the output. > Why? Apache, for example, don't hide the output.
Because pages and pages of output make it difficult to spot problems. If it starts successfully, the config must be correct. If it doesnt *then* you have to warn. Its the normal way for FreeBSD (unlike Linux, that confuses me with its coloured output during boot.
Nick
07.02.2014 22:44, Nick Hibma пиÑеÑ: >> Why? Apache, for example, don't hide the output. > > Because pages and pages of output make it difficult to spot problems. If it starts successfully, the config must be correct. If it doesnât *then* you have to warn. Itâs the normal way for FreeBSD (unlike Linux, that confuses me with its coloured output during boot. > So, what about apache port? Do you paln to send a patch to apache@FreeBSD.org to discuss? Author: sem Date: Fri Feb 7 21:07:31 2014 New Revision: 343296 URL: http://svnweb.freebsd.org/changeset/ports/343296 QAT: https://qat.redports.org/buildarchive/r343296/ Log: - Hide output of check config command PR: ports/186195 Submitted by: Nick Hibma <nick@anywi.com> Modified: head/dns/unbound/files/unbound.in Modified: head/dns/unbound/files/unbound.in ============================================================================== --- head/dns/unbound/files/unbound.in Fri Feb 7 20:23:14 2014 (r343295) +++ head/dns/unbound/files/unbound.in Fri Feb 7 21:07:31 2014 (r343296) @@ -29,7 +29,7 @@ unbound_enable=${unbound_enable:-"NO"} start_precmd() { - %%PREFIX%%/sbin/unbound-checkconf && \ + %%PREFIX%%/sbin/unbound-checkconf > /dev/null && \ echo -n "Obtaining a trust anchor:" && \ su -m unbound -c %%PREFIX%%/sbin/unbound-anchor && \ echo . _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed. Thanks! |