Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 51203 invoked from network); 9 Jul 2005 17:13:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jul 2005 17:13:33 -0000 Received: (qmail 2877 invoked by uid 500); 9 Jul 2005 17:13:21 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 2851 invoked by uid 500); 9 Jul 2005 17:13:20 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 2838 invoked by uid 99); 9 Jul 2005 17:13:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2005 10:13:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [204.11.219.139] (HELO colo.lerdorf.com) (204.11.219.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2005 10:13:17 -0700 Received: from [192.168.2.106] (c-24-6-1-160.hsd1.ca.comcast.net [24.6.1.160]) (authenticated bits=0) by colo.lerdorf.com (8.13.4/8.13.4/Debian-3) with ESMTP id j69HDE5d030957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 9 Jul 2005 10:13:16 -0700 Message-ID: <42D005AB.8020407@lerdorf.com> Date: Sat, 09 Jul 2005 10:13:15 -0700 From: Rasmus Lerdorf User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: non-detaching httpd References: <20050709153935.GA12944@nibiru.borg.metux.de> In-Reply-To: <20050709153935.GA12944@nibiru.borg.metux.de> X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Enrico Weigelt wrote: > Hi folks, > > > I'd like to stop httpd from detaching itself, so I can start > it from init. > > How can this be done ? httpd -X if you want a single non-forking non-detached process httpd -F if you just want the main process to be non-detached and still have it fork off children -Rasmus