syslog-ng/syslog-ng-3.2.5-syslog-ng.service.patch

17 lines
700 B
Diff
Raw Normal View History

2011-10-23 02:25:04 +00:00
diff -ruN syslog-ng-3.2.4+20111022+0801/contrib/systemd/syslog-ng.service syslog-ng-3.2.4+20111022+0801-modified/contrib/systemd/syslog-ng.service
--- syslog-ng-3.2.4+20111022+0801/contrib/systemd/syslog-ng.service 2011-07-01 15:26:29.000000000 +0100
+++ syslog-ng-3.2.4+20111022+0801-modified/contrib/systemd/syslog-ng.service 2011-10-23 02:17:50.197093822 +0100
@@ -3,9 +3,11 @@
[Service]
Sockets=syslog.socket
+EnvironmentFile=-/etc/sysconfig/syslog-ng
ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service
-ExecStart=/usr/sbin/syslog-ng -F
+ExecStart=/sbin/syslog-ng $SYSLOGNG_OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
+StandardOutput=null
[Install]
WantedBy=multi-user.target