TIL that the unix signal `SIGHUP` meant "hang up", through `tokio`'s excellent d...
bnjbvr 🥐 @bnjbvr@tutut.delire.party
TIL that the unix signal `SIGHUP` meant "hang up", through `tokio`'s excellent documentation: https://docs.rs/tokio/latest/tokio/signal/unix/struct.SignalKind.html#method.hangup
To wit: if you have a shell running a program, and the shell is being closed, the shell will send this signal to the underlying program, indicating it must be shut down. Using the `nohup` terminal utility (short for "no hang up") will make it so that the program will be run "detached" from the shell, so it'll ignore `SIGHUP`, and keep on running after a shell closed.