mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
Merge pull request #2233 from dagwieers/syslog-fix
Fix slow syslogd remote syslog startup and klogd interaction
This commit is contained in:
commit
f2257b6c4a
@ -30,7 +30,7 @@
|
|||||||
source /storage/.cache/syslog/remote
|
source /storage/.cache/syslog/remote
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SYSLOGD_OPTIONS="-L -D"
|
SYSLOGD_OPTIONS="-L"
|
||||||
|
|
||||||
if [ "$SYSLOG_REMOTE" == "true" -a "$SYSLOG_SERVER" ]; then
|
if [ "$SYSLOG_REMOTE" == "true" -a "$SYSLOG_SERVER" ]; then
|
||||||
SYSLOGD_OPTIONS="-R $SYSLOG_SERVER $SYSLOGD_OPTIONS"
|
SYSLOGD_OPTIONS="-R $SYSLOG_SERVER $SYSLOGD_OPTIONS"
|
||||||
@ -42,6 +42,8 @@
|
|||||||
|
|
||||||
syslogd $SYSLOGD_OPTIONS
|
syslogd $SYSLOGD_OPTIONS
|
||||||
|
|
||||||
|
sleep 3
|
||||||
|
|
||||||
progress "Starting Kernellog daemon"
|
progress "Starting Kernellog daemon"
|
||||||
klogd
|
klogd
|
||||||
)&
|
)&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user