fix startup bug due to stale pidfile
continuous-integration/drone/push Build is failing
Papildu informācija
continuous-integration/drone/push Build is failing
Papildu informācija
This commit is contained in:
vecāks
9303aa88ef
revīzija
cda9c9f6af
|
@ -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
|
||||
|
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā