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.
More on Processes, Signals & systemd
What is the difference between a program, a process and a thread?BeginnerHow are new processes created in Linux?IntermediateWhat is a zombie process, and how do you get rid of it?IntermediateWhat is an orphan process?BeginnerExplain the process states shown in ps (R, S, D, T, Z).IntermediateWhy can't you kill a process in D state?Advanced