Andreas Stieger
93a9a63293
rsyslog 8.33.1 OBS-URL: https://build.opensuse.org/request/show/590850 OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=289
29 lines
817 B
Diff
29 lines
817 B
Diff
Index: rsyslog-8.33.1/rsyslog.service.in
|
|
===================================================================
|
|
--- rsyslog-8.33.1.orig/rsyslog.service.in
|
|
+++ rsyslog-8.33.1/rsyslog.service.in
|
|
@@ -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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|