From owner-freebsd-hackers Wed Jun 16 1:26: 9 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 3D66215332 for ; Wed, 16 Jun 1999 01:25:25 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.1) id KAA77982; Wed, 16 Jun 1999 10:25:02 +0200 (CEST) (envelope-from des) 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 References: <199906160407.NAA20129@lavender.sanpei.org> From: Dag-Erling Smorgrav Date: 16 Jun 1999 10:25:00 +0200 In-Reply-To: sanpei@sanpei.org's message of "Wed, 16 Jun 1999 13:07:07 +0900 (JST)" Message-ID: Lines: 26 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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