Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
rsyslog: Don't disable systemd StartLimit
Browse files Browse the repository at this point in the history
It is undesirable to have a service restart continually forever if it
gets stuck in a failure loop. This workaround was added due to
"RestartUnit" being ignored if the rsyslog unit had already failed. A
fix to the "RestartUnit" logic has been added, so that the StartLimit is
reset after a configuration change but before calling "RestartUnit".
This will ensure restarts are reliable after configuration change, but
we don't have rsyslog trying to restart indefinitely.

Change-Id: I8d2d8ec3b2c5b024dbf8e7cda6089e398a819c96
Signed-off-by: William A. Kennington III <[email protected]>
  • Loading branch information
wak-google authored and bradbishop committed Apr 5, 2019
1 parent df80f7c commit c82d32f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions recipes-extended/rsyslog/files/rsyslog-override.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[Unit]
# This service is restarted when an rsyslog property is set, so
# disable rate limiting to allow it to always be restarted.
StartLimitIntervalSec=0
# This file exists only if remote logging has been configured
ConditionPathExists=/etc/rsyslog.d/server.conf

0 comments on commit c82d32f

Please sign in to comment.