From modperl-return-35202-apmail-perl-modperl-archive=perl.apache.org@perl.apache.org Tue Aug 12 09:49:55 2003 Return-Path: Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 59700 invoked by uid 500); 12 Aug 2003 09:49:54 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 59644 invoked from network); 12 Aug 2003 09:49:53 -0000 From: Dirk Lutzebaeck MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16184.47177.981788.732674@cayambe.core.aeccom.com> Date: Tue, 12 Aug 2003 11:50:01 +0200 To: "Dennis Stout" Cc: Subject: Re: How to restart the root server from within modperl? In-Reply-To: <023f01c3604e$f1fcad90$040aa8c0@grendal> References: <200308112116.h7BLGmo20185@cayambe.core.aeccom.com> <023f01c3604e$f1fcad90$040aa8c0@grendal> X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid X-Virus-Scanned: by AMaViS perl-11 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Dennis Stout writes: > On a whim, I would try writing a second script to do the actual shutdown and > restart of Apache. > > Then have your mod_perl program either run it in the background (with a &) or > fork it into another process. Did exactly that but is has the effect that when the parent (root) apache is killed it kills all children including the script itself. So the server wont start again. Dirk