Function shadowsocks_rust::monitor::create_signal_monitor
source · [−]Expand description
Create a monitor future for signals
It will exit when received SIGTERM
or SIGINT
.
Create a monitor future for signals
It will exit when received SIGTERM
or SIGINT
.