fix startup bug due to stale pidfile
continuous-integration/drone/push Build is failing Detalles

Este commit está contenido en:
Jeffrey Paul 2020-10-28 16:46:52 +00:00
padre 9303aa88ef
commit cda9c9f6af
Se han modificado 1 ficheros con 5 adiciones y 0 borrados

Ver fichero

@ -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