89a360a565
`nginx -t` creates the file /run/nginx.pid if it doesn't exist. `nginx -t` is executed by ExecStartPre (in nginx.service) and creates /run/nginx.pid with the correct SELinux context. However, when manually running `nginx -t` from the cmdline, the SELinux transition for systemd services doesn't occur and /run/nginx.pid is created with the wrong SELinux context. A workaround is to make sure that the PID file is removed before starting nginx. |
||
---|---|---|
.gitignore | ||
50x.html | ||
404.html | ||
index.html | ||
nginx-auto-cc-gcc.patch | ||
nginx-logo.png | ||
nginx-upgrade | ||
nginx-upgrade.8 | ||
nginx.conf | ||
nginx.logrotate | ||
nginx.service | ||
nginx.spec | ||
poweredby.png | ||
sources |