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 години
1234567891011121314151617181920212223
  1. # nginx
  2. description "nginx http daemon"
  3. author "George Shammas <georgyo@gmail.com>"
  4. start on (runlevel [345] and started network)
  5. stop on (runlevel [!345] or stopping network)
  6. env DAEMON=/usr/sbin/nginx
  7. expect fork
  8. respawn
  9. respawn limit 10 5
  10. #oom never
  11. pre-start script
  12. $DAEMON -t
  13. if [ $? -ne 0 ]
  14. then exit $?
  15. fi
  16. end script
  17. exec $DAEMON