fix startup bug due to stale pidfile

master
Jeffrey Paul 3 anni fa
parent 9303aa88ef
commit cda9c9f6af
  1. 5
      root/etc/service/rsyslog/run

@ -3,4 +3,9 @@
chgrp syslog /var/logs
chmod g+w /var/logs
# for some reason the pidfile was sticking around and preventing startup
RP="$(cat /run/rsyslogd.pid)"
kill $RP
rm /run/rsyslogd.pid
exec rsyslogd -n

Caricamento…
Annulla
Salva