/etc/init.d/httpd & /etc/rc.d/init.d/httpd
I used "yum install httpd" to install Apache, I noticed that httpd is now installed in two places:
Which one is the correct httpd install and what is the difference between the /etc/init.d/ & /etc/rc.d/init.d/ folder.
Thanks for your help.
httpd is installed in two different places
Thanks for your reply. The same httpd file is installed in two different locations:
# ls /etc/init.d/httpd -l
-rwxr-xr-x 1 root root 3201 Jul 14 08:56 /etc/init.d/httpd
# ls /etc/rc.d/init.d/httpd -l
-rwxr-xr-x 1 root root 3201 Jul 14 08:56 /etc/rc.d/init.d/httpd
I've been using:
for restarting Apache.
Your help is appreciated.