Blame SOURCES/nginx.service

06bde5
[Unit]
06bde5
Description=The nginx HTTP and reverse proxy server
06bde5
After=network.target remote-fs.target nss-lookup.target
06bde5
06bde5
[Service]
06bde5
Type=forking
06bde5
PIDFile=/run/nginx.pid
06bde5
# Nginx will fail to start if /run/nginx.pid already exists but has the wrong
06bde5
# SELinux context. This might happen when running `nginx -t` from the cmdline.
06bde5
# https://bugzilla.redhat.com/show_bug.cgi?id=1268621
06bde5
ExecStartPre=/usr/bin/rm -f /run/nginx.pid
06bde5
ExecStartPre=/usr/sbin/nginx -t
06bde5
ExecStart=/usr/sbin/nginx
06bde5
ExecReload=/bin/kill -s HUP $MAINPID
06bde5
KillSignal=SIGQUIT
06bde5
TimeoutStopSec=5
06bde5
KillMode=mixed
06bde5
PrivateTmp=true
06bde5
06bde5
[Install]
06bde5
WantedBy=multi-user.target