Retry restarting systemd-journald
It is possible that systemd-journald fails to properly restart on the first attempt due to assertion errors similar to the following: Assertion 'f' failed at src/journal/journal-file.c:132, function journal_file_close(). Aborting. However, the service eventually starts with no problems, so we can simply retry which will let it restart cleanly on the next attempt. Change-Id: Ic65466b0d339c5a1b476e91483beca248ed0a02d
This commit is contained in:
parent
9c4bdb962b
commit
66ed618bce
|
@ -24,3 +24,7 @@
|
|||
name: systemd-journald
|
||||
state: restarted
|
||||
enabled: yes
|
||||
register: _restart
|
||||
until: _restart | success
|
||||
retries: 5
|
||||
delay: 2
|
||||
|
|
Loading…
Reference in New Issue