1
0
Fork 0

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

Esse commit está contido em:
Jeffrey Paul 2020-10-28 16:46:52 +00:00
commit cda9c9f6af
1 arquivos alterados com 5 adições e 0 exclusões

Ver arquivo

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