Controlling httpd Lifecycle: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=


The lifecycle of the httpd server is controlled by sending Unix signals into the httpd parent process.
The lifecycle of the httpd server is controlled by sending Unix signals into the [[Httpd_Concepts#The_Parent_Process|httpd parent process]].


The signals can be sent into the parent process using the httpd process [[#Send_Signals_Directly_to_httpd|directly]], using the [[#Send_Commands_to_httpd_with_-k_Command_Line_Option|-k command line option]] or (recommended) the [[#Use_apachectl_Control_Script|<tt>apachectl</tt> control script]].
The signals can be sent into the parent process using the httpd process [[#Send_Signals_Directly_to_httpd|directly]], using the [[#Send_Commands_to_httpd_with_-k_Command_Line_Option|-k command line option]] or (recommended) the [[#Use_apachectl_Control_Script|<tt>apachectl</tt> control script]].

Revision as of 20:22, 2 January 2017

Internal

Overview

The lifecycle of the httpd server is controlled by sending Unix signals into the httpd parent process.

The signals can be sent into the parent process using the httpd process directly, using the -k command line option or (recommended) the apachectl control script.

Use apachectl Control Script

Send Signals Directly to httpd

Send Commands to httpd with -k Command Line Option