File rsyslog-service-centos-rhel.patch of Package rsyslog
--- a/rsyslog.service.in 2020-06-22 14:57:15.286097749 +0200
+++ b/rsyslog.service.in 2020-06-08 09:22:30.741077470 +0200
@@ -4,14 +4,16 @@
Wants=network.target network-online.target
After=network.target network-online.target
Documentation=man:rsyslogd(8)
-Documentation=http://www.rsyslog.com/doc/
+Documentation=https://www.rsyslog.com/doc/
[Service]
Type=notify
-ExecStart=@sbindir@/rsyslogd -n -iNONE
+EnvironmentFile=-/etc/sysconfig/rsyslog
+ExecStart=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS
+Restart=on-failure
+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