From dd5622ef2b4065dc80ee549c57a2ec5010d0b4d1 Mon Sep 17 00:00:00 2001 From: nick83ola Date: Mon, 27 May 2019 16:55:21 +0100 Subject: nginx: fix kill path in nginx systemd unit file the kill utility is located in /bin/kill -> use base_bindir instead of bindir Signed-off-by: Nicola Lunghi Signed-off-by: Khem Raj --- meta-webserver/recipes-httpd/nginx/files/nginx.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-webserver/recipes-httpd/nginx/files/nginx.service') diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service b/meta-webserver/recipes-httpd/nginx/files/nginx.service index c6fc0495f1..9a6ca96517 100644 --- a/meta-webserver/recipes-httpd/nginx/files/nginx.service +++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service @@ -8,7 +8,7 @@ PIDFile=/run/nginx/nginx.pid ExecStartPre=@SBINDIR@/nginx -t ExecStart=@SBINDIR@/nginx ExecReload=@SBINDIR@/nginx -s reload -ExecStop=@BINDIR@/kill -s QUIT $MAINPID +ExecStop=@BASE_BINDIR@/kill -s QUIT $MAINPID PrivateTmp=true [Install] -- cgit v1.2.3-54-g00ecf