mirror of https://github.com/pvnis/srsRAN_4G.git
Proper shutdown on SIGHUP
If a process exits and has a controlling terminal, everything under it gets a SIGHUP by the kernel. That's the case for instance when running a srsUE over ssh with some specific parameters. As a result, when the ssh client is killed, SIGHUP is sent to srsUE, which will be killed immediatelly without proper release, which means in turn that log buffers are not flushed. Let's do proper shutdown when SIGHUP is received so that everyone can get log files.master
parent
64de92183b
commit
4949df257e
Loading…
Reference in New Issue