LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how do I shutdown httpd after i started it? under slackware (https://www.linuxquestions.org/questions/slackware-14/how-do-i-shutdown-httpd-after-i-started-it-under-slackware-237768/)

babyboss 10-02-2004 12:26 AM

how do I shutdown httpd after i started it? under slackware
 
anyone now what is the input?
i read on apache.org
it says i have to
kill -TERM cat /usr/log/httpd.pid
but i can't find httpd.pid under log, but i can find it under /var/run
so what can I do to kill everything relate to httpd

ppuru 10-02-2004 12:31 AM

you can

killall httpd

OR

/path/to/httpd stop.

sh1ft 10-02-2004 12:32 AM

type this in the terminal

Code:

sh /etc/rc.d/rc.httpd stop
Now here I'm assuming you don't have slack set up to start apache at boot. If you did, you would not need the sh as the script would be executable.

nightoil 10-02-2004 01:42 AM

I use the command(as root):-
# apachectl stop

to stop httpd

and to start it again

# apachectl start


All times are GMT -5. The time now is 05:48 AM.