diff options
author | Amarnath Valluri <amarnath.valluri@intel.com> | 2015-11-06 15:27:38 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-11-11 10:46:54 +0100 |
commit | fc5b483f76571528462806fe030052a8319f8fe6 (patch) | |
tree | 205a53e75577310df424ecf45e3cb0ff581dc803 /meta-webserver/recipes-httpd/nginx/files | |
parent | 9f3a2e92d385b2f0b0d8a40c2a6f1e5fb735a3e4 (diff) | |
download | meta-openembedded-contrib-fc5b483f76571528462806fe030052a8319f8fe6.tar.gz |
nginx: Fix systemd service file
systemd service file expects full path of the executatbles.
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/nginx/files')
-rw-r--r-- | meta-webserver/recipes-httpd/nginx/files/nginx.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service b/meta-webserver/recipes-httpd/nginx/files/nginx.service index 705450e471..9926a4b9d9 100644 --- a/meta-webserver/recipes-httpd/nginx/files/nginx.service +++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=forking PIDFile=@SYSCONFDIR@/nginx/run/nginx.pid -ExecStartPre=mkdir -p @LOCALSTATEDIR@/log/nginx +ExecStartPre=@BASEBINDIR@/mkdir -p @LOCALSTATEDIR@/log/nginx ExecStart=@SYSCONFDIR@/init.d/nginx start ExecStop=@SYSCONFDIR@/init.d/nginx stop [Install] |