httpd restart
-
- Posts: 11
- Joined: 2020/09/08 02:59:59
httpd restart
If I need to restart the httpd service in a production environment, what could happen? what is the best time window to do it?; thanks in advance
Re: httpd restart
Umm, a graceful restart?
What could go work? Well config. errors (obviously!)
What could go work? Well config. errors (obviously!)
-
- Posts: 11
- Joined: 2020/09/08 02:59:59
Re: httpd restart
What is exactly a graceful re-start? thanks
- KernelOops
- Posts: 414
- Joined: 2013/12/18 15:04:03
- Location: xfs file system
Re: httpd restart
Most of the time, its enough to reload apache and not restart it completely.
to reload
to restart
if you use apache instances then you need to reload/restart those as well, for example:
to reload
Code: Select all
systemctl reload httpd
Code: Select all
systemctl restart httpd
if you use apache instances then you need to reload/restart those as well, for example:
Code: Select all
systemctl reload httpd httpd@example.tld
--
R.I.P. CentOS
--
R.I.P. CentOS

--
Re: httpd restart
Which version of CentOS are we talking about?
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke