mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
syslogd: init: remove pidfile on start
This commit is contained in:
parent
ae785ad1ea
commit
7b19d06f98
@ -40,6 +40,8 @@
|
|||||||
SYSLOGD_OPTIONS="$SYSLOGD_OPTIONS -f /storage/.config/syslog.conf"
|
SYSLOGD_OPTIONS="$SYSLOGD_OPTIONS -f /storage/.config/syslog.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm /var/run/syslogd.pid &>/dev/null
|
||||||
|
|
||||||
syslogd $SYSLOGD_OPTIONS
|
syslogd $SYSLOGD_OPTIONS
|
||||||
|
|
||||||
if [ "$SYSLOG_REMOTE" == "true" -a "$SYSLOG_SERVER" ]; then
|
if [ "$SYSLOG_REMOTE" == "true" -a "$SYSLOG_SERVER" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user