On Mon, Jul 21, 2003 at 02:33:10PM -0600, Dzevad Fazlic wrote:
> Hello there 
> I just installed freeBSD 4.8 with apache 1.3.27
> Everthing works perfect but when   i shutdown system or when i startup system 
> i am receiving this apache error
> (/usr/local/etc/rc.d/apache.sh:120: Syntax error :Unterminated quoted string )
FWIW here's a working 1.3.28 rc script for apache (no diff from that for
1.3.27):

#!/bin/sh

case "$1" in
start)
        [ -x /usr/local/sbin/apachectl ] \
        && /usr/local/sbin/apachectl start > /dev/null && echo -n ' apache'
        ;;
stop)
        [ -r /var/run/httpd.pid ] \
        && /usr/local/sbin/apachectl stop > /dev/null && echo -n ' apache'
        ;;
*)
        echo "Usage: `basename $0` {start|stop}" >&2
        ;;
esac

exit 0

I've broken the lines with \ chars to make it more readable/less likely
to break in the mail(!), just copy the above piecemeal into
/usr/local/etc/rc.d/apache.sh and ensure the file is executable and you
should be ok.

HTH
-- 
Jez

http://www.munk.nu/
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to