!25 change rsyslog.service file

From: @wcc_140409
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
This commit is contained in:
openeuler-ci-bot 2021-08-26 07:53:06 +00:00 committed by Gitee
commit bdaa27dfc8
3 changed files with 10 additions and 4 deletions

View File

@ -9,7 +9,7 @@ Documentation=https://www.rsyslog.com/doc/
[Service] [Service]
Type=notify Type=notify
EnvironmentFile=-/etc/sysconfig/rsyslog EnvironmentFile=-/etc/sysconfig/rsyslog
ExecStart=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ExecStart=/usr/sbin/rsyslogd -n -i/var/run/rsyslogd.pid $SYSLOGD_OPTIONS
Restart=on-failure Restart=on-failure
UMask=0066 UMask=0066
StandardOutput=null StandardOutput=null

View File

@ -4,7 +4,7 @@
Name: rsyslog Name: rsyslog
Version: 8.2012.0 Version: 8.2012.0
Release: 3 Release: 4
Summary: The rocket-fast system for log processing Summary: The rocket-fast system for log processing
License: (GPLv3+ and ASL 2.0) License: (GPLv3+ and ASL 2.0)
URL: http://www.rsyslog.com/ URL: http://www.rsyslog.com/
@ -358,6 +358,12 @@ done
%{_mandir}/man1/rscryutil.1.gz %{_mandir}/man1/rscryutil.1.gz
%changelog %changelog
* Thu Aug 26 2021 wuchaochao <wuchaochao4@huawei.com> - 8.2012.0-4
- Type:NA
- ID:NA
- SUG:restart
- DESC:remove RSYSLOG_OPTIONS and change rsyslog.service files
* Wed Aug 25 2021 wuchaochao <wuchaochao4@huawei.com> - 8.2012.0-3 * Wed Aug 25 2021 wuchaochao <wuchaochao4@huawei.com> - 8.2012.0-3
- Type:NA - Type:NA
- ID:NA - ID:NA

View File

@ -2,4 +2,4 @@
# Syslogd options are deprecated since rsyslog v3. # Syslogd options are deprecated since rsyslog v3.
# If you want to use them, switch to compatibility mode 2 by "-c 2" # If you want to use them, switch to compatibility mode 2 by "-c 2"
# See rsyslogd(8) for more details # See rsyslogd(8) for more details
SYSLOGD_OPTIONS="-i/var/run/rsyslogd.pid" SYSLOGD_OPTIONS=""