2014-09-30 13:14:20 +02:00
|
|
|
--- rsyslog-8.4.1/rsyslog.service.in
|
|
|
|
+++ rsyslog-8.4.1/rsyslog.service.in 2014/09/30 11:04:56
|
|
|
|
@@ -1,14 +1,21 @@
|
2013-04-14 18:56:48 +02:00
|
|
|
[Unit]
|
|
|
|
Description=System Logging Service
|
2013-06-26 12:15:38 +02:00
|
|
|
Requires=syslog.socket
|
2013-04-14 18:56:48 +02:00
|
|
|
+Requires=var-run.mount
|
|
|
|
+After=var-run.mount
|
|
|
|
+Conflicts=syslog-ng.service syslogd.service
|
2014-09-30 13:14:20 +02:00
|
|
|
Documentation=man:rsyslogd(8)
|
|
|
|
Documentation=http://www.rsyslog.com/doc/
|
2013-04-14 18:56:48 +02:00
|
|
|
|
|
|
|
[Service]
|
2013-06-26 12:15:38 +02:00
|
|
|
Type=notify
|
2013-04-16 10:58:53 +02:00
|
|
|
-ExecStart=@sbindir@/rsyslogd -n
|
2013-04-14 18:56:48 +02:00
|
|
|
+Environment=RSYSLOGD_PARAMS=
|
|
|
|
+EnvironmentFile=-/etc/sysconfig/syslog
|
2014-09-30 13:14:20 +02:00
|
|
|
+ExecStartPre=@sbindir@/rsyslog-service-prepare
|
|
|
|
+ExecStart=@sbindir@/rsyslogd -n $RSYSLOGD_PARAMS
|
2013-04-14 18:56:48 +02:00
|
|
|
+ExecReload=/bin/kill -HUP $MAINPID
|
2014-09-30 13:14:20 +02:00
|
|
|
StandardOutput=null
|
|
|
|
-Restart=on-failure
|
2014-01-24 15:28:16 +01:00
|
|
|
+Restart=on-abort
|
2013-04-14 18:56:48 +02:00
|
|
|
|
|
|
|
[Install]
|
2013-06-26 12:15:38 +02:00
|
|
|
WantedBy=multi-user.target
|