apache:restart_apache
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apache:restart_apache [2016/10/10 23:20] – peter | apache: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 | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== 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 / | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ |
apache/restart_apache.1476141603.txt.gz · Last modified: 2020/07/15 09:30 (external edit)