nginx.sh 153 B

123456789101112131415161718
  1. #!/usr/bin/env sh
  2. set -e
  3. start_nginx()
  4. {
  5. #exec nginx
  6. process_start nginx
  7. }
  8. stop_nginx()
  9. {
  10. nginx -s stop
  11. }
  12. monit_nginx()
  13. {
  14. process_monit nginx
  15. }