diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/nginx/files/nginx.service')
| -rw-r--r-- | meta-webserver/recipes-httpd/nginx/files/nginx.service | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service b/meta-webserver/recipes-httpd/nginx/files/nginx.service index 9926a4b9d9..ce99061717 100644 --- a/meta-webserver/recipes-httpd/nginx/files/nginx.service +++ b/meta-webserver/recipes-httpd/nginx/files/nginx.service | |||
| @@ -3,10 +3,9 @@ Description=Nginx Server | |||
| 3 | After=network.target | 3 | After=network.target |
| 4 | [Service] | 4 | [Service] |
| 5 | Type=forking | 5 | Type=forking |
| 6 | PIDFile=@SYSCONFDIR@/nginx/run/nginx.pid | 6 | PIDFile=/run/nginx/nginx.pid |
| 7 | ExecStartPre=@BASEBINDIR@/mkdir -p @LOCALSTATEDIR@/log/nginx | 7 | ExecStart=@SBINDIR@/nginx |
| 8 | ExecStart=@SYSCONFDIR@/init.d/nginx start | 8 | ExecStop=@SBINDIR@/nginx -s stop |
| 9 | ExecStop=@SYSCONFDIR@/init.d/nginx stop | 9 | ExecReload=@SBINDIR@/nginx -s reload |
| 10 | [Install] | 10 | [Install] |
| 11 | WantedBy=multi-user.target | 11 | WantedBy=multi-user.target |
| 12 | |||
