mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-07 07:21:22 +01:00
remove rsyslogd.pid before start to allow container restarts
This change mitigate problems with container restarts (stop, start) or automatic restart after host machine restart. Rsyslogd strictly checks existence of its pid file and won't start if such one exists.
This commit is contained in:
parent
43f427cfe9
commit
719072e0ba
@ -20,4 +20,4 @@ VOLUME /var/log/docker/
|
||||
|
||||
EXPOSE 514
|
||||
|
||||
CMD crond && rsyslogd -n
|
||||
CMD crond && rm -f /var/run/rsyslogd.pid && rsyslogd -n
|
||||
|
Loading…
Reference in New Issue
Block a user