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.

преди 8 години
преди 8 години
преди 8 години
123456789101112131415161718
  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 -t
  10. ExecReload=/usr/sbin/nginx -s reload
  11. ExecStop=/bin/kill -s QUIT $MAINPID
  12. Restart=on-failure
  13. RestartSec=10s
  14. PrivateTmp=true
  15. [Install]
  16. WantedBy=multi-user.target