From 715521610a8d52f49d793c6bbaa0abce5967624e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E8=B6=85=E8=B6=85?= Date: Mon, 30 Aug 2021 03:07:13 +0000 Subject: [PATCH] update rsyslog.service. --- rsyslog.service | 6 +++--- rsyslog.spec | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/rsyslog.service b/rsyslog.service index 9c13b1d..c7d2ee3 100644 --- a/rsyslog.service +++ b/rsyslog.service @@ -1,18 +1,18 @@ [Unit] Description=System Logging Service ;Requires=syslog.socket +Wants=network.target network-online.target +After=network.target network-online.target Documentation=man:rsyslogd(8) Documentation=https://www.rsyslog.com/doc/ [Service] Type=notify EnvironmentFile=-/etc/sysconfig/rsyslog -ExecStart=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS -ExecReload=/usr/bin/kill -HUP $MAINPID +ExecStart=/usr/sbin/rsyslogd -n -i/var/run/rsyslogd.pid $SYSLOGD_OPTIONS UMask=0066 StandardOutput=null Restart=on-failure - # Increase the default a bit in order to allow many simultaneous # files to be monitored, we might need a lot of fds. LimitNOFILE=16384 diff --git a/rsyslog.spec b/rsyslog.spec index 16f6d06..686430b 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -4,7 +4,7 @@ Name: rsyslog Version: 8.2012.0 -Release: 2 +Release: 3 Summary: The rocket-fast system for log processing License: (GPLv3+ and ASL 2.0) URL: http://www.rsyslog.com/ @@ -358,6 +358,9 @@ done %{_mandir}/man1/rscryutil.1.gz %changelog +* Mon Aug 30 2021 wuchaochao - 8.2012.0-3 +- Sync update 21.09 branch code patch + * Fri Jun 11 2021 shangyibin - 8.2012.0-2 - Type:NA - ID:NA -- Gitee