No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nginx.service 616B

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