Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | From 0be9c08dd3f825e92fa02d4a08d8aff743109e61 Mon Sep 17 00:00:00 2001 |
| 2 | From: Li xin <lixin.fnst@cn.fujitsu.com> |
| 3 | Date: Wed, 17 Jun 2015 14:46:30 +0900 |
| 4 | Subject: [PATCH] syslog-ng.service: the syslog-ng service can not start |
| 5 | successfully,so modify it. |
| 6 | |
| 7 | Upstream-Status: pending |
| 8 | |
| 9 | Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> |
| 10 | --- |
| 11 | contrib/systemd/syslog-ng.service | 5 ++--- |
| 12 | 1 file changed, 2 insertion(+), 3 deletions(-) |
| 13 | |
| 14 | diff --git a/contrib/systemd/syslog-ng.service b/contrib/systemd/syslog-ng.service |
| 15 | index fc16f8d..8e09deb 100644 |
| 16 | --- a/contrib/systemd/syslog-ng.service |
| 17 | +++ b/contrib/systemd/syslog-ng.service |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 18 | @@ -4,8 +4,8 @@ Description=System Logger Daemon |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 19 | |
| 20 | [Service] |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 21 | Type=notify |
| 22 | -ExecStart=/usr/sbin/syslog-ng -F $SYSLOGNG_OPTS |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 23 | -ExecReload=/bin/kill -HUP $MAINPID |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 24 | +ExecStart=@SBINDIR@/syslog-ng -F $SYSLOGNG_OPTS -p @LOCALSTATEDIR@/run/syslogd.pid |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 25 | +ExecReload=@BASEBINDIR@/kill -HUP $MAINPID |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 26 | EnvironmentFile=-/etc/default/syslog-ng |
| 27 | EnvironmentFile=-/etc/sysconfig/syslog-ng |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 28 | StandardOutput=journal |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 29 | -- |
| 30 | 1.8.4.2 |
| 31 | |