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

This commit is contained in:
Jeffrey Paul 2020-10-28 16:46:52 +00:00
父節點 9303aa88ef
當前提交 cda9c9f6af
共有 1 個檔案被更改,包括 5 行新增0 行删除

查看文件

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