anchor.diff:  DAEMON=<%= @openresty_path %>/nginx/sbin/nginx
   NAME=nginx
   DESC=nginx
  +
  +# nginx stores its own pid file and the PID in the init-generated
  +# pid file is incorrect. For that reason, we use the nginx pidfile
  +PIDFILE=<%= @openresty_path %>/nginx/logs/nginx.pid
   
   # Include nginx defaults if available
   if [ -f /etc/default/nginx ]; then
  
positive.code:                         # Set the ulimits
                          ulimit $ULIMIT
                  fi
                  start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/$NAME.pid \
                      --exec $DAEMON -- $DAEMON_OPTS || true
                  echo "$NAME."
                  ;;
  
          stop)
                  echo -n "Stopping $DESC: "
                  start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
                      --exec $DAEMON || true
                  echo "$NAME."
                  ;;
  
negative.code:         restart|force-reload)
                  echo -n "Restarting $DESC: "
                  start-stop-daemon --stop --quiet --pidfile \
                      $PIDFILE --exec $DAEMON || true
                  sleep 1
                  test_nginx_config
                  start-stop-daemon --start --quiet \
                      --exec $DAEMON -- $DAEMON_OPTS || true
                  echo "$NAME."
                  ;;
  
          reload)
                  echo -n "Reloading $DESC configuration: "
                  test_nginx_config
                  start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE \
                      --exec $DAEMON || true
                  echo "$NAME."
                  ;;
  