mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/sysklogd: new setting
Expose --with-dns-delay=SEC configure option to fine tune retry interval to match that of the system resolver. Signed-off-by: Joachim Wiberg <troglobit@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
dd5bd455de
commit
a4a1e36e1a
@@ -15,8 +15,18 @@ config BR2_PACKAGE_SYSKLOGD
|
|||||||
|
|
||||||
if BR2_PACKAGE_SYSKLOGD
|
if BR2_PACKAGE_SYSKLOGD
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SYSKLOGD_DNS_DELAY
|
||||||
|
int "Retry DNS delay (sec)"
|
||||||
|
default "60"
|
||||||
|
help
|
||||||
|
Retry delay (seconds) for attempting to resolve DNS names of
|
||||||
|
remote syslog servers. This is the internal retry delay, not
|
||||||
|
that of the resolver in your C library or DNS cache.
|
||||||
|
|
||||||
|
Default: 60 seconds
|
||||||
|
|
||||||
config BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY
|
config BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY
|
||||||
int "Retry delay (sec)"
|
int "Retry remote delay (sec)"
|
||||||
default "180"
|
default "180"
|
||||||
help
|
help
|
||||||
Retry delay (seconds) for sending to remote syslog servers.
|
Retry delay (seconds) for sending to remote syslog servers.
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ SYSKLOGD_CPE_ID_VALID = YES
|
|||||||
SYSKLOGD_CONF_OPTS = \
|
SYSKLOGD_CONF_OPTS = \
|
||||||
--bindir=/usr/bin \
|
--bindir=/usr/bin \
|
||||||
--sbindir=/sbin \
|
--sbindir=/sbin \
|
||||||
|
--with-dns-delay=$(BR2_PACKAGE_SYSKLOGD_DNS_DELAY) \
|
||||||
--with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY)
|
--with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY)
|
||||||
|
|
||||||
# Disable/Enable utilities
|
# Disable/Enable utilities
|
||||||
|
|||||||
Reference in New Issue
Block a user