From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1270 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: apache2 run script Date: Fri, 6 Oct 2006 19:21:09 +0300 Organization: asdfGroup Inc., http://powerman.asdfGroup.com/ Message-ID: <20061006162109.GF7053@home.power> References: <20061001092939.GA1057@heinlein.local> <20061005235825.GB7053@home.power> <20061006153719.GC7053@home.power> <20061006155724.GE7053@home.power> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160151702 24929 80.91.229.2 (6 Oct 2006 16:21:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Oct 2006 16:21:42 +0000 (UTC) Original-X-From: supervision-return-1506-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Oct 06 18:21:30 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1GVsRg-0006OS-EH for gcsg-supervision@gmane.org; Fri, 06 Oct 2006 18:21:09 +0200 Original-Received: (qmail 21052 invoked by uid 76); 6 Oct 2006 16:21:29 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 21046 invoked from network); 6 Oct 2006 16:21:29 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1270 Archived-At: Hi! On Fri, Oct 06, 2006 at 12:01:49PM -0400, Paul Jarc wrote: > Alex Efros wrote: > > Anyway. Why you dislike `env -i` so much to invent all these alternatives? :) > > I think the interest is mostly in -i, not env. Do you have variables > in runsv's environment that Apache shouldn't have? Hmm. No, I don't think -i really needed. In ./run script there about 30 variables, but most of them bash-related and I don't think some of them may affect apache execution. But... it just ease to use -i when starting apache than think 'is it safe' about every from these 30 variables, check apache's documentation about used variables, etc. Many years ago when I was a newbie sysadmin I have some problems with apache started in unclean environment, so I always use -i from that time... just for the case. That's called experience. ;-) -- WBR, Alex.