summaryrefslogtreecommitdiff
path: root/source/n/httpd/rc.httpd
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/httpd/rc.httpd')
-rw-r--r--source/n/httpd/rc.httpd4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/n/httpd/rc.httpd b/source/n/httpd/rc.httpd
index 81189098..6b251d90 100644
--- a/source/n/httpd/rc.httpd
+++ b/source/n/httpd/rc.httpd
@@ -16,14 +16,14 @@ case "$1" in
;;
'stop')
/usr/sbin/apachectl -k stop
- killall httpd
+ pkill -f /usr/sbin/httpd
# Remove both old and new .pid locations:
rm -f /var/run/httpd.pid /var/run/httpd/httpd.pid
;;
'force-restart')
# Because sometimes restarting through apachectl just doesn't do the trick...
/usr/sbin/apachectl -k stop
- killall httpd
+ pkill -f /usr/sbin/httpd
# Remove both old and new .pid locations:
rm -f /var/run/httpd.pid /var/run/httpd/httpd.pid
/usr/sbin/apachectl -k start