Remove PID file in ExecStartPre, before starting nginx.
nginx -t creates the file /run/nginx.pid if it doesn't exist. This is fine in ExecStartPre, but if the user ran
nginx -t from the cmdline then the PID file will have the wrong SELinux context.
sudo dnf upgrade --advisory=FEDORA-2015-7c12d601d2
Please login to add feedback.