Interview Prep/Linux/Processes, Signals & systemd

What is the difference between `systemctl reload` and `restart`?

BeginnerConceptProcesses, Signals & systemd
Answer

restart stops and starts the process: new PID, connections dropped. reload runs ExecReload= (often sending SIGHUP) so the running process re-reads config without dropping connections. Not every service supports reload. reload-or-restart uses reload if available. For nginx, always nginx -t first.

All Linux questions Roadmap: Linux

More on Processes, Signals & systemd