File rsyslog-unit.patch of Package rsyslog

--- rsyslog-8.36.0.orig/rsyslog.service.in	2018-06-25 17:20:38.000000000 +0200
+++ rsyslog-8.36.0/rsyslog.service.in	2018-06-26 21:03:46.788972908 +0200
@@ -1,14 +1,21 @@
 [Unit]
 Description=System Logging Service
 Requires=syslog.socket
+Requires=var-run.mount
+After=var-run.mount
+Conflicts=syslog-ng.service syslogd.service
 Documentation=man:rsyslogd(8)
 Documentation=http://www.rsyslog.com/doc/
 
 [Service]
 Type=notify
-ExecStart=@sbindir@/rsyslogd -n -iNONE
+Environment=RSYSLOGD_PARAMS=
+EnvironmentFile=-/etc/sysconfig/syslog
+ExecStartPre=@sbindir@/rsyslog-service-prepare
+ExecStart=@sbindir@/rsyslogd -n -iNONE $RSYSLOGD_PARAMS
+ExecReload=/bin/kill -HUP $MAINPID
 StandardOutput=null
-Restart=on-failure
+Restart=on-abort
 
 # Increase the default a bit in order to allow many simultaneous
 # files to be monitored, we might need a lot of fds.