[oe-commits] [meta-openembedded] 03/09: nginx.service: sleep 0.1 after nginx start
git at git.openembedded.org
git at git.openembedded.org
Tue Feb 25 05:03:13 UTC 2020
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 2e789ac3fbdf3c09d9e4e6e6cdff64386e7c631c
Author: Changqing Li <changqing.li at windriver.com>
AuthorDate: Mon Feb 24 19:40:46 2020 +0800
nginx.service: sleep 0.1 after nginx start
Fix error info:
nginx.service: failed to parse pid from file /run/nginx/nginx.pid:
invalid argument
Signed-off-by: Changqing Li <changqing.li at windriver.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-webserver/recipes-httpd/nginx/files/nginx.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service b/meta-webserver/recipes-httpd/nginx/files/nginx.service
index 9a6ca96..65c7752 100644
--- a/meta-webserver/recipes-httpd/nginx/files/nginx.service
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service
@@ -7,6 +7,7 @@ Type=forking
PIDFile=/run/nginx/nginx.pid
ExecStartPre=@SBINDIR@/nginx -t
ExecStart=@SBINDIR@/nginx
+ExecStartPost=/bin/sleep 0.1
ExecReload=@SBINDIR@/nginx -s reload
ExecStop=@BASE_BINDIR@/kill -s QUIT $MAINPID
PrivateTmp=true
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list