reg sigkill

This commit is contained in:
fengzero
2023-12-11 09:03:20 +00:00
parent 8afa18df91
commit 9155532e62
+2 -1
View File
@@ -125,9 +125,10 @@ static int neuron_run(const neu_cli_args_t *args)
int rv = 0;
signal(SIGINT, sig_handler);
signal(SIGTERM, sig_handler);
signal(SIGABRT, sig_handler);
signal(SIGSEGV, sig_handler);
signal(SIGTERM, sig_handler);
signal(SIGKILL, sig_handler);
// try to enable core dump
rl.rlim_cur = rl.rlim_max = RLIM_INFINITY;