Saltstack Official Nginx Formula
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.

1234567891011121314151617
  1. [Unit]
  2. Description=The NGINX HTTP and reverse proxy server
  3. After=syslog.target network.target remote-fs.target nss-lookup.target
  4. [Service]
  5. Type=forking
  6. PIDFile=/run/nginx.pid
  7. ExecStartPre=/usr/sbin/nginx -t
  8. ExecStart=/usr/sbin/nginx
  9. ExecReload=/usr/sbin/nginx -s reload
  10. ExecStop=/bin/kill -s QUIT $MAINPID
  11. Restart=on-failure
  12. RestartSec=10s
  13. PrivateTmp=true
  14. [Install]
  15. WantedBy=multi-user.target