10.4. Starting and Stopping httpd
httpdRPM installs the
/etc/init.d/httpdscript, which can be accessed using the
service httpd start
service httpd stop
restartoption is a shorthand way of stopping and then starting the Apache HTTP Server.
service httpd restart
httpd.conffile, however, it is not necessary to explicitly stop and start the server. Instead, use the
service httpd reload
httpdservice does not start automatically at boot time. To configure the
httpdservice to start up at boot time, use an initscript utility, such as
/sbin/chkconfig, /usr/sbin/ntsysv, or the Services Configuration Tool program. Refer to the chapter titled Controlling Access to Services in System Administrators Guide for more information regarding these tools.