Saltstack Official Nginx Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
395B

  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