[Buildroot] [PATCH 7/8] rsyslog: update S01logging

Carlos Santos casantos at datacom.com.br
Mon Jul 9 23:37:02 UTC 2018


> From: "Arnout Vandecappelle" <arnout at mind.be>
> To: "DATACOM" <casantos at datacom.com.br>, "buildroot" <buildroot at buildroot.org>
> Cc: "ratbert90" <aduskett at gmail.com>
> Sent: Monday, July 9, 2018 7:05:30 PM
> Subject: Re: [Buildroot] [PATCH 7/8] rsyslog: update S01logging

> Note: subject is wrong s/rsyslog/syslog-ng/

OK.

[...]

>> +		# shellcheck disable=SC2086 # we need the word splitting
>> +		start-stop-daemon -b -S -q -p /var/run/syslog-ng.pid -x /usr/sbin/syslog-ng
>> -- -F $SYSLOG_NG_ARGS && \
> 
> Again, better let the daemon take care of backgrounding itself.
> 

As explained in the answer about rsyslogd, it prevents hanging the boot by
putting an "-F" in SYSLOG_NG_ARGS (in /etc/default/logging).

-- 
Carlos Santos (Casantos) - DATACOM, P&D
“Marched towards the enemy, spear upright, armed with the certainty
that only the ignorant can have.” — Epitaph of a volunteer


More information about the buildroot mailing list