diff options
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 | 13 |
1 files changed, 7 insertions, 6 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 index 90d3ef2727..f53c607b41 100644 --- 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 @@ -8,8 +8,8 @@ Upstream-Status: pending Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> --- - contrib/systemd/syslog-ng.service | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) + contrib/systemd/syslog-ng.service | 5 ++--- + 1 file changed, 2 insertion(+), 3 deletions(-) diff --git a/contrib/systemd/syslog-ng.service b/contrib/systemd/syslog-ng.service index fc16f8d..8e09deb 100644 @@ -20,11 +20,12 @@ index fc16f8d..8e09deb 100644 [Service] -Type=notify - Sockets=syslog.socket -ExecStart=/usr/sbin/syslog-ng -F -+ExecStart=/usr/sbin/syslog-ng -F -p /var/run/syslogd.pid - ExecReload=/bin/kill -HUP $MAINPID - StandardOutput=null +-ExecReload=/bin/kill -HUP $MAINPID ++ExecStart=@SBINDIR@/syslog-ng -F -p @LOCALSTATEDIR@/run/syslogd.pid ++ExecReload=@BASEBINDIR@/kill -HUP $MAINPID + StandardOutput=journal + StandardError=journal Restart=on-failure -- 1.8.4.2 |