User Tools

Site Tools


apache:restart_apache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
apache:restart_apache [2020/07/15 09:30] – external edit 127.0.0.1apache:restart_apache [2023/07/17 08:43] (current) peter
Line 1: Line 1:
 ====== Apache - Restart Apache ====== ====== Apache - Restart Apache ======
- 
  
 Issue the following command: Issue the following command:
Line 13: Line 12:
 apachectl -k restart  apachectl -k restart 
 </code> </code>
 +
 +----
 +
 +===== Restart Gracefully =====
 +
 +Ifrestarting the web server on a live website, it should be done gracefully.
 +
 +A graceful restart tells the web sever to finish any active connections before restarting.
 +
 +  * This means that active visitors to the site will be able to finish downloading anything already in progress before the server restarts.
 +
 +<code bash>
 +sudo /etc/init.d/apache2 graceful
 +</code>
 +
 +----
 +
 +
apache/restart_apache.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki