diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2015-06-17 16:29:46 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-07-16 21:09:08 +0200 |
commit | 327186e4c9c9b54497c24a5da32ed5978cb66477 (patch) | |
tree | 36291bcf4cf85dc1abb30cc8ea279807d6cf1b33 /meta-oe/recipes-support/syslog-ng/files/syslog-ng.service-the-syslog-ng-service.patch | |
parent | 02ff77ef010c750d436ba9b7348122f8b33757f7 (diff) | |
download | meta-openembedded-327186e4c9c9b54497c24a5da32ed5978cb66477.tar.gz |
syslog-ng_3.5.4.1: modify to fix the error
1) modified "--localstatedir" from /var/run to /var/lib
2) delete "Type=notify" from syslog-ng.service.
Otherwise syslog-ng.service can't be start successfully.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/syslog-ng/files/syslog-ng.service-the-syslog-ng-service.patch')
-rw-r--r-- | meta-oe/recipes-support/syslog-ng/files/syslog-ng.service-the-syslog-ng-service.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/files/syslog-ng.service-the-syslog-ng-service.patch b/meta-oe/recipes-support/syslog-ng/files/syslog-ng.service-the-syslog-ng-service.patch new file mode 100644 index 0000000000..90d3ef2727 --- /dev/null +++ b/meta-oe/recipes-support/syslog-ng/files/syslog-ng.service-the-syslog-ng-service.patch | |||
@@ -0,0 +1,31 @@ | |||
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 | 3 +-- | ||
12 | 1 file changed, 1 insertion(+), 2 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 | ||
18 | @@ -3,9 +3,8 @@ Description=System Logger Daemon | ||
19 | Documentation=man:syslog-ng(8) | ||
20 | |||
21 | [Service] | ||
22 | -Type=notify | ||
23 | Sockets=syslog.socket | ||
24 | -ExecStart=/usr/sbin/syslog-ng -F | ||
25 | +ExecStart=/usr/sbin/syslog-ng -F -p /var/run/syslogd.pid | ||
26 | ExecReload=/bin/kill -HUP $MAINPID | ||
27 | StandardOutput=null | ||
28 | Restart=on-failure | ||
29 | -- | ||
30 | 1.8.4.2 | ||
31 | |||