nginx.sh 101 B

12345678910111213
  1. #!/usr/bin/env sh
  2. set -e
  3. start_nginx()
  4. {
  5. #exec nginx
  6. nginx &
  7. }
  8. stop_nginx()
  9. {
  10. nginx -s stop
  11. }