Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:530:   #endif /* THREADS */    roxenloader.real_exit(exit_code);    }    if (shutdown_recurse++) return;      #ifndef NO_SLOW_REQ_BT    // Turn off the backend thread monitor while we're shutting down.    slow_be_timeout_changed();   #endif    +  if (query("patch_on_restart")) { +  mixed err = catch { +  foreach(plib->file_list_imported(), mapping(string:mixed) item) { +  report_notice("Applying patch %s...\n", item->metadata->id); +  mixed err = catch { +  plib->install_patch(item->metadata->id, +  "Internal Administrator"); +  }; +  if (err) { +  report_error("Failed to install patch %s: %s\n", +  item->metadata->id, +  describe_backtrace(err)); +  } +  } +  }; +  if (err) { +  master()->handle_error(err); +  } +  } +     if (mixed err = catch(stop_all_configurations()))    master()->handle_error (err);      #ifdef SNMP_AGENT    if(objectp(snmpagent)) {    snmpagent->stop_trap();    snmpagent->disable();    }   #endif   
Roxen.git/server/base_server/roxen.pike:3407: Inside #if undefined(__NT__)
     #ifndef __NT__   protected int abs_started;   protected int handlers_alive;      protected void low_engage_abs()   {    report_debug("**** %s: ABS exiting roxen!\n\n",    ctime(time()) - "\n");    _exit(1); // It might not quit correctly otherwise, if it's -  // locked up +  // locked up. Note that this also inhibits the delay +  // caused by the possible automatic installation of +  // any pending patches.   }      protected void engage_abs(int n)   {    if (!query("abs_engage")) {    abs_started = 0;    report_debug("Anti-Block System Disabled.\n");    return;    }    report_debug("**** %s: ABS engaged!\n"