Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:6914:    report_error("Couldn't create certificate file %s: %s\n", file_name,    strerror (file->errno()));    } else if (file->write(cert) != sizeof(cert)) {    rm(file_name);    report_error("Couldn't write certificate file %s: %s\n", file_name,    strerror (file->errno()));    }    }    }    + #ifdef THREADS +  start_handler_threads(); + #if constant(Filesystem.Monitor.basic) +  start_fsgarb(); + #endif + #endif /* THREADS */ +     // Update the certificate registry before opening any ports.    // NB: Force all certificate files to be reread and reparsed.    scan_certs(1);       enable_configurations();       string pid_file = Getopt.find_option(argv, "p", "pid-file");    if (pid_file && query("permanent_uid")) rm(pid_file);       set_u_and_gid(); // Running with the right [e]uid:[e]gid from this point on.
Roxen.git/server/base_server/roxen.pike:6940:    enable_configurations_modules();   #else    if( Getopt.find_option( argv, 0, "no-delayed-load" ))    enable_configurations_modules();    else    foreach( configurations, Configuration c )    if( c->query( "no_delayed_load" ) )    c->enable_all_modules();   #endif // RUN_SELF_TEST    - #ifdef THREADS -  start_handler_threads(); - #if constant(Filesystem.Monitor.basic) -  start_fsgarb(); - #endif - #endif /* THREADS */ -  +     start_scan_certs();    start_hourly_maintenance();      #ifdef TEST_EUID_CHANGE    if (test_euid_change) {    Stdio.File f = Stdio.File();    if (f->open ("rootonly", "r") && f->read())    werror ("Backend thread can read rootonly\n");    else    werror ("Backend thread can't read rootonly\n");