mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Move syslogd after network so we can log kernel messages to remote server
Since syslogd was started before the network was up, all syslog messages before the network was up were discarded and not send to the remoe syslog server. By moving the syslogd startup until after the network, the kernel boot messages are available on the central syslog.
This commit is contained in:
parent
3d5d9bb810
commit
5ce4c9b9be
@ -28,10 +28,10 @@
|
||||
|
||||
source /var/config/settings.conf
|
||||
|
||||
SYSLOGD_OPTIONS="-L"
|
||||
SYSLOGD_OPTIONS="-L -D"
|
||||
|
||||
if [ "$SYSLOG_REMOTE" == "true" -a "$SYSLOG_SERVER" ]; then
|
||||
SYSLOGD_OPTIONS="$SYSLOGD_OPTIONS -R $SYSLOG_SERVER"
|
||||
SYSLOGD_OPTIONS="-R $SYSLOG_SERVER $SYSLOGD_OPTIONS"
|
||||
fi
|
||||
|
||||
if [ -f /storage/.config/syslog.conf ]; then
|
Loading…
x
Reference in New Issue
Block a user