diff --git a/rsyslog.service b/rsyslog.service index 94f6652b6fd0c82810bec53045a7aea40922398c..f12de6a1579cfb8c9027df63c49fe92c50b19220 100644 --- a/rsyslog.service +++ b/rsyslog.service @@ -12,6 +12,8 @@ EnvironmentFile=-/etc/sysconfig/rsyslog ExecStart=/usr/sbin/rsyslogd -n -i/var/run/rsyslogd.pid $SYSLOGD_OPTIONS ExecStartPost=/bin/bash /usr/bin/timezone_update.sh UMask=0066 +StartLimitBurst=100 +RestartSec=1s StandardOutput=null Restart=on-failure # Increase the default a bit in order to allow many simultaneous diff --git a/rsyslog.spec b/rsyslog.spec index b0d12732a843e8ffb335b1a7c2dbb12e77927063..1e5c3e069a6e4c3db99fa3a3abe11d341b7aab61 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -4,7 +4,7 @@ Name: rsyslog Version: 8.2110.0 -Release: 5 +Release: 7 Summary: The rocket-fast system for log processing License: (GPLv3+ and ASL 2.0) URL: http://www.rsyslog.com/ @@ -324,7 +324,7 @@ mkdir -p $RPM_BUILD_ROOT/etc/cron.d/ install -m 0600 %{_sourcedir}/timezone.cron $RPM_BUILD_ROOT/etc/cron.d/ install -m 0500 %{SOURCE5} $RPM_BUILD_ROOT%{_bindir}/os_rotate_and_save_log.sh install -m 0500 %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/os_check_timezone_for_rsyslog.sh -install -m 0500 %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/timezone_update.sh +install -m 0500 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/timezone_update.sh cp -r doc/* $RPM_BUILD_ROOT%{rsyslog_docdir}/html @@ -476,7 +476,10 @@ done %{_mandir}/man1/rscryutil.1.gz %changelog -* Wed Feb 23 wuchaochao - 8.2110.0-5 +* Fri Mar 25 2022 wuchaochao - 8.2110.0-7 +- add startlimitburst and restartsec + +* Wed Feb 23 2022 wuchaochao - 8.2110.0-5 - deleted: rsyslog-8.24.0-set-permission-of-syslogd-dot-pid-to-0644.patch * Sat Feb 19 2022 liuyumeng - 8.2110.0-4