Ticket #767: patch-apache.sh

File patch-apache.sh, 606 bytes (added by bchesneau@…, 21 years ago)

patch apache.sh from cvs version

Line 
1--- apache.sh-orig      Mon Aug 11 02:25:41 2003
2+++ apache.sh   Mon Aug 11 02:26:06 2003
3@@ -2,10 +2,10 @@
4 
5 case "$1" in
6 start)
7-       [ -x %%PREFIX%%/sbin/apachectl ] && %%PREFIX%%/sbin/apachectl start > /dev/null && echo -n ' apache'
8+       [ -x %%PREFIX%%/bin/apachectl ] && %%PREFIX%%/bin/apachectl start > /dev/null && echo -n ' apache'
9        ;;
10 stop)
11-       [ -r %%PREFIX%%/var/run/httpd.pid ] && %%PREFIX%%/sbin/apachectl stop > /dev/null && echo -n ' apache'
12+       [ -r %%PREFIX%%/var/run/httpd.pid ] && %%PREFIX%%/bin/apachectl stop > /dev/null && echo -n ' apache'
13        ;;
14 *)
15        echo "Usage: `basename $0` {start|stop}" >&2