syslogd: init: remove pidfile on start

This commit is contained in:
Stefan Saraev 2013-07-18 15:37:50 +03:00
parent ae785ad1ea
commit 7b19d06f98

View File

@ -40,6 +40,8 @@
SYSLOGD_OPTIONS="$SYSLOGD_OPTIONS -f /storage/.config/syslog.conf"
fi
rm /var/run/syslogd.pid &>/dev/null
syslogd $SYSLOGD_OPTIONS
if [ "$SYSLOG_REMOTE" == "true" -a "$SYSLOG_SERVER" ]; then