General bug fixes

This commit is contained in:
DomySh
2022-06-18 23:48:10 +02:00
parent 0601b7b281
commit a8ffcb9f72
3 changed files with 20 additions and 12 deletions

View File

@@ -407,12 +407,14 @@ int main(int argc, char* argv[])
const std::string local_host = argv[1];
const std::string forward_host = argv[3];
config_file = argv[5];
update_regex();
signal(SIGUSR1, signal_handler);
signal(SIGTERM, signal_handler);
signal(SIGSEGV, signal_handler);
config_file = argv[5];
boost::asio::io_service ios;