mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Fix slow syslogd remote syslog startup and klogd interaction
Because syslogd is not properly started its remote syslog support when klogd dumps its kernel ring buffer content to it, most of the kernel boot output is missing on the remote syslog server. By adding a small delay between syslogd and klogd, we are sure the messages are properly send to the remote syslog by syslogd.
This commit is contained in:
parent
071ac7db30
commit
efd8fdada9
@ -30,7 +30,7 @@
|
||||
source /storage/.cache/syslog/remote
|
||||
fi
|
||||
|
||||
SYSLOGD_OPTIONS="-L -D"
|
||||
SYSLOGD_OPTIONS="-L"
|
||||
|
||||
if [ "$SYSLOG_REMOTE" == "true" -a "$SYSLOG_SERVER" ]; then
|
||||
SYSLOGD_OPTIONS="-R $SYSLOG_SERVER $SYSLOGD_OPTIONS"
|
||||
@ -42,6 +42,8 @@
|
||||
|
||||
syslogd $SYSLOGD_OPTIONS
|
||||
|
||||
sleep 3
|
||||
|
||||
progress "Starting Kernellog daemon"
|
||||
klogd
|
||||
)&
|
||||
|
Loading…
x
Reference in New Issue
Block a user