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:
Joachim Wiberg
2024-07-16 10:57:47 +02:00
committed by Thomas Petazzoni
parent dd5bd455de
commit a4a1e36e1a
2 changed files with 12 additions and 1 deletions

View File

@@ -15,8 +15,18 @@ config 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
int "Retry delay (sec)"
int "Retry remote delay (sec)"
default "180"
help
Retry delay (seconds) for sending to remote syslog servers.

View File

@@ -16,6 +16,7 @@ SYSKLOGD_CPE_ID_VALID = YES
SYSKLOGD_CONF_OPTS = \
--bindir=/usr/bin \
--sbindir=/sbin \
--with-dns-delay=$(BR2_PACKAGE_SYSKLOGD_DNS_DELAY) \
--with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY)
# Disable/Enable utilities