Keine Beschreibung

nginx.init 279B

123456789101112131415161718192021222324
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2009-2012 OpenWrt.org
  3. START=50
  4. NGINX_BIN=/usr/sbin/nginx
  5. start() {
  6. mkdir -p /var/log/nginx
  7. mkdir -p /var/lib/nginx
  8. $NGINX_BIN
  9. }
  10. stop() {
  11. $NGINX_BIN -s stop
  12. }
  13. reload() {
  14. $NGINX_BIN -s reload
  15. }
  16. shutdown() {
  17. $NGINX_BIN -s quit
  18. }