rsyslog/rsyslog-unit.patch
Marius Tomaschewski 80bf8d5932 - update to rsyslog 8.4.1 [v8-stable] 2014-09-30 (bnc#897262)
- imudp: add for bracketing mode, which makes parsing stats easier
  - permit at-sign in variable names
    closes: https://github.com/rsyslog/rsyslog/issues/110
  - bugfix: fix syntax error in anon_cc_numbers.py script
    Thanks to github user anthcourtney for the patch.
    closes: https://github.com/rsyslog/rsyslog/issues/109
  - bugfix: ompgsql: don't loose uncomitted data on retry
    Thanks to Jared Johnson and Axel Rau for the patch.
  - bugfix: imfile: if a state file for a different file name was set,
    that different file (name) was monitored instead of the configured
    one. Now, the state file is deleted and the correct file monitored.
    closes: https://github.com/rsyslog/rsyslog/issues/103
  - bugfix: omudpspoof: source port was invalid
    Thanks to Pavel Levshin for the patch
  - bugfix: build failure on systems which don't have json_tokener_errors
    Older versions of json-c need to use a different API (which don't exists
    on newer versions, unfortunately...)
    Thanks to Thomas D. for reporting this problem.
  - bugfix: omelasticsearch does not work with broken/changed ES 1.0+ API
    closes: https://github.com/rsyslog/rsyslog/issues/104
  - bugfix: mmanon did not properly anonymize IP addresses starting with '9'
    Thanks to defa-at-so36.net for reporting this problem.
    closes: http://bugzilla.adiscon.com/show_bug.cgi?id=529
  - bugfix: build problems on SuSe Linux
    Thanks Andreas Stieger for the patch
  - bugfix: omelasticsearch error file did not work correctly on ES 1.0+
    due to a breaking change in the ElasticSearch API.
    see also: https://github.com/rsyslog/rsyslog/issues/104
  - bugfix: potential abort when a message with PRI > 191 was processed

OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=204
2014-09-30 11:14:20 +00:00

27 lines
707 B
Diff

--- rsyslog-8.4.1/rsyslog.service.in
+++ rsyslog-8.4.1/rsyslog.service.in 2014/09/30 11:04:56
@@ -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
+Environment=RSYSLOGD_PARAMS=
+EnvironmentFile=-/etc/sysconfig/syslog
+ExecStartPre=@sbindir@/rsyslog-service-prepare
+ExecStart=@sbindir@/rsyslogd -n $RSYSLOGD_PARAMS
+ExecReload=/bin/kill -HUP $MAINPID
StandardOutput=null
-Restart=on-failure
+Restart=on-abort
[Install]
WantedBy=multi-user.target