According to signal(7)
, SIGHUP
is used to detect hangup on controlling terminal or death of controlling process.
However, I have come across a lot of OSS daemons(services) where SIGHUP
is used to initiate a reload of configuration. Here are a few examples: hostapd
, sshd
, snort
etc.
Is this a standard(or a generally acceptable) way to implement a reload? If not, whats recommended?