Andreas Stieger
61396614da
- Fix systemd units to do exactly what is documented as required --> http://www.freedesktop.org/wiki/Software/systemd/syslog In particular, it must not mess with the ordering of syslog.target this is done by removing the custom unit and adapting the upstream one with openSUSE additions (rsyslog-unit.patch) OBS-URL: https://build.opensuse.org/request/show/163983 OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=132
23 lines
619 B
Diff
23 lines
619 B
Diff
Index: rsyslog-7.2.5/rsyslog.service.in
|
|
===================================================================
|
|
--- rsyslog-7.2.5.orig/rsyslog.service.in
|
|
+++ rsyslog-7.2.5/rsyslog.service.in
|
|
@@ -1,9 +1,16 @@
|
|
[Unit]
|
|
Description=System Logging Service
|
|
+Requires=var-run.mount
|
|
+Requires=syslog.socket
|
|
+After=var-run.mount
|
|
+Conflicts=syslog-ng.service syslogd.service
|
|
|
|
[Service]
|
|
+Environment=RSYSLOGD_PARAMS=
|
|
+ExecStartPre=@sbindir@/rsyslog-service-prepare
|
|
+EnvironmentFile=-/etc/sysconfig/syslog
|
|
ExecStart=@sbindir@/rsyslogd -n
|
|
-Sockets=syslog.socket
|
|
+ExecReload=/bin/kill -HUP $MAINPID
|
|
StandardOutput=null
|
|
|
|
[Install]
|