package/sysklogd: add option for remote syslog retry delay

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Joachim Wiberg 2021-01-22 16:43:33 +01:00 committed by Yann E. MORIN
parent 99cff5ef74
commit 36bbd4265f
2 changed files with 16 additions and 1 deletions

View File

@ -15,6 +15,19 @@ config BR2_PACKAGE_SYSKLOGD
if BR2_PACKAGE_SYSKLOGD
config BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY
int "Retry delay (sec)"
default "180"
help
Retry delay (seconds) for sending to remote syslog servers.
When set up to forward logs to a remote syslog server, the
network may not always be available. E.g., default interface
down, or no route to the remote server. This setting controls
the back-off time before retrying.
Default: 180 seconds
config BR2_PACKAGE_SYSKLOGD_LOGGER
bool "logger tool"
help

View File

@ -9,7 +9,9 @@ SYSKLOGD_SITE = https://github.com/troglobit/sysklogd/releases/download/v$(SYSKL
SYSKLOGD_LICENSE = BSD-3-Clause
SYSKLOGD_LICENSE_FILES = LICENSE
SYSKLOGD_CPE_ID_VALID = YES
SYSKLOGD_CONF_OPTS = --exec-prefix=/
SYSKLOGD_CONF_OPTS = \
--exec-prefix=/ \
--with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY)
# Disable/Enable utilities
ifeq ($(BR2_PACKAGE_SYSKLOGD_LOGGER),y)