Join our Newsletter — 33% off our NHI Course
Architecture & Implementation

SIGHUP

← Back to Glossary
By NHI Mgmt Group Updated November 2, 2026 Domain: Architecture & Implementation

SIGHUP is a Unix signal historically used to indicate that a terminal or controlling process has been hung up. In modern systems it is often repurposed to tell a daemon to reload configuration, reopen log files, or terminate cleanly, depending on how the process handles the signal.

SIGHUP as a process-control signal

SIGHUP began as a terminal hangup signal, but in modern Unix and Linux systems it is often treated as a general control event for long-running processes. The meaning is not fixed by the signal itself, the receiving process decides whether SIGHUP means reload, reopen, terminate, or ignore.

That flexibility is what makes SIGHUP useful for daemons. A service can treat the signal as a lightweight instruction to refresh configuration without requiring a full restart, which preserves uptime while still allowing operators to apply changes.

How SIGHUP is handled by daemons and shells

Signal handling is part of process behaviour, not a universal protocol. A shell, supervisor, or daemon may forward SIGHUP differently, and many services install a handler specifically to reload settings or reopen logs when the signal arrives.

This is why behaviour can vary between programs that look similar on the surface. One daemon may exit on SIGHUP, another may re-read its configuration file, and a third may ignore it entirely if it has no reload path implemented.

For operators, the practical question is whether the target process actually listens for the signal and whether that response is safe in the current state. A reload path is only useful when the process can reconfigure itself without losing active work or corrupting in-memory state.

Why SIGHUP matters for configuration and logging

In production systems, SIGHUP is often associated with two operations: reloading configuration and reopening log files. The first lets a daemon pick up changed settings, and the second is useful when logs are rotated or file handles need to be refreshed without stopping the service.

That makes SIGHUP a small but important part of operational hygiene. It can reduce maintenance disruption, but it also depends on application discipline, because the program must safely apply new configuration and safely resume writing to the correct log destination.

Because the signal is just a notification, it does not guarantee success. A daemon may partially reload, reject invalid configuration, or continue running with a mix of old and new state if the implementation is weak.

Where SIGHUP fits in process lifecycle and resilience

SIGHUP is also a process-lifecycle tool. It sits between a full restart and no action at all, which makes it attractive for services that need continuity but still need controlled changes.

Used well, it supports resilience by allowing operational adjustments with less interruption than a restart. Used poorly, it can create ambiguity, especially when administrators assume every service will interpret the signal the same way.

The safest mental model is to treat SIGHUP as program-specific behaviour documented by the daemon itself. The signal is standard Unix plumbing, but the semantics are defined by the application that receives it.

Risk and Threat Considerations

SIGHUP is not inherently dangerous, but it can create operational exposure when a daemon reloads configuration or reopens logs unexpectedly. If the receiving process handles the signal poorly, an attacker or misconfiguration can trigger service disruption, stale configuration, or log handling gaps.

Failure mechanism: The process treats SIGHUP as a reload trigger without validating input or preserving a safe runtime state, so a reload can fail open, fail closed, or leave the service inconsistent.

Impact: A bad reload can interrupt availability, hide or misroute logs, or leave security-relevant settings only partially applied, which complicates detection and incident response.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SC-8 — Transmission Confidentiality and IntegrityReload and logging control paths depend on preserving service integrity during operational changes.
AU-8 — Time StampsSIGHUP is often used to reopen logs, which affects audit trail continuity and log handling.
Recommendation — Validate daemon reload paths so operational signals do not corrupt protected communications or service state. Ensure log rotation and reopen procedures preserve continuous, trustworthy audit timestamps and records.
CIS Controls v85 — Account ManagementOperational signals affect privileged service behaviour and should be governed as part of secure administration.
8 — Audit Log ManagementA common SIGHUP use case is log reopening during rotation, which directly supports audit logging.
Recommendation — Document and test service control procedures so administrative actions are predictable and authorized. Verify that log rotation workflows reopen files cleanly and do not break audit visibility.
ISO/IEC 27001:2022A.8.15 — LoggingSIGHUP is frequently used to reopen log files, making logging integrity a direct operational concern.
Recommendation — Define and test log-reopen procedures so logging remains reliable during maintenance and rotation.

Practitioner Guidance

What to watch for: Confirm how each daemon in your environment handles SIGHUP before relying on it for operational change. The signal is only safe when the program’s documented behaviour matches the maintenance task you expect it to perform.

Governance implication: Treat signal handling as part of service ownership and runbook design, especially for log rotation, config reloads, and supervised restarts. If a process uses SIGHUP as a control path, that behaviour should be tested, documented, and reviewed like any other operational dependency.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 2, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org