Re-enable automatic outbox processing

master
teknomunk 1 year ago
parent 0a95a70461
commit 11f1e90628

@ -84,20 +84,22 @@ int main( int argc, char* argv[] )
}
}
int inbox_handler_pid = -1;
// Process inbox
int inbox_handler_pid = -1;
if( !( inbox_handler_pid = fork() ) ) {
prctl(PR_SET_PDEATHSIG, SIGHUP);
process_inbox();
}
/*
//*
// Process outbox
if( !( inbox_handler_pid = fork() ) ) {
int outbox_handler_pid = -1;
if( !( outbox_handler_pid = fork() ) ) {
prctl(PR_SET_PDEATHSIG, SIGHUP);
process_outbox();
}*/
}
//*/
int code = 0;
if( !run_webserver(args) ) { code = 1; }

Loading…
Cancel
Save