Skip site navigation (1)Skip section navigation (2)
Date:      16 Jun 1999 10:25:00 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        sanpei@sanpei.org (MIHIRA Yoshiro)
Cc:        adsharma@home.com, newton@internode.com.au, hackers@FreeBSD.ORG
Subject:   Re: [Call for review] init(8): new feature
Message-ID:  <xzp4sk8een7.fsf@flood.ping.uio.no>
In-Reply-To: sanpei@sanpei.org's message of "Wed, 16 Jun 1999 13:07:07 %2B0900 (JST)"
References:  <199906160407.NAA20129@lavender.sanpei.org>

next in thread | previous in thread | raw e-mail | index | archive | help
sanpei@sanpei.org (MIHIRA Yoshiro) writes:
> # Yes, We modify some ports to support start,stop.....

And others to no longer support it. The Apache 1.2 port used to
support it, the Apache 1.3 port doesn't. Here's a replacement:

#!/bin/sh

if [ ! -x /usr/local/sbin/apachectl ] ; then
	echo "apachectl not found"
	exit 1
fi

case $1 in
start|stop|restart)
	/usr/local/sbin/apachectl $1
	;;
*)
	echo "Usage: $(basename $0) start|stop|restart"
	exit 1
	;;
esac

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp4sk8een7.fsf>