SIGHUP

The hangup signal, sent to programs when the terminal they were started from closes.

In more detail

By default it ends the program, which is why a job started in a terminal stops when you log out. Long-running services often use it as a request to reload their settings instead.

Example

Its default action ends the process, which is why a job started from a terminal usually dies when you log out. nohup, a terminal multiplexer or a service manager protects work from it. Services often treat it as reread your configuration instead.

Related terms

Taught in

References

Certification courses