diff --git a/srsenb/src/main.cc b/srsenb/src/main.cc index 476cf0f7a..936396157 100644 --- a/srsenb/src/main.cc +++ b/srsenb/src/main.cc @@ -424,6 +424,7 @@ int main(int argc, char* argv[]) { signal(SIGINT, sig_int_handler); signal(SIGTERM, sig_int_handler); + signal(SIGHUP, sig_int_handler); all_args_t args = {}; srslte::metrics_hub metricshub; metrics_stdout metrics_screen; diff --git a/srsepc/src/main.cc b/srsepc/src/main.cc index a28c5b07a..133868fc5 100644 --- a/srsepc/src/main.cc +++ b/srsepc/src/main.cc @@ -384,6 +384,7 @@ int main(int argc, char* argv[]) { signal(SIGINT, sig_int_handler); signal(SIGTERM, sig_int_handler); + signal(SIGHUP, sig_int_handler); // print build info cout << endl << get_build_string() << endl; diff --git a/srsepc/src/mbms-gw/main.cc b/srsepc/src/mbms-gw/main.cc index 144f20913..c14a29f94 100644 --- a/srsepc/src/mbms-gw/main.cc +++ b/srsepc/src/mbms-gw/main.cc @@ -190,6 +190,7 @@ int main(int argc, char* argv[]) cout << endl << "--- Software Radio Systems MBMS ---" << endl << endl; signal(SIGINT, sig_int_handler); signal(SIGTERM, sig_int_handler); + signal(SIGHUP, sig_int_handler); all_args_t args; parse_args(&args, argc, argv); diff --git a/srsue/src/main.cc b/srsue/src/main.cc index b4beca6ee..55a4c661a 100644 --- a/srsue/src/main.cc +++ b/srsue/src/main.cc @@ -553,6 +553,7 @@ int main(int argc, char* argv[]) { signal(SIGINT, sig_int_handler); signal(SIGTERM, sig_int_handler); + signal(SIGHUP, sig_int_handler); srslte_debug_handle_crash(argc, argv); all_args_t args = {};