From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1272 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: apache2 run script Date: Sat, 7 Oct 2006 03:23:46 +0300 Organization: asdfGroup Inc., http://powerman.asdfGroup.com/ Message-ID: <20061007002346.GG7053@home.power> References: <20061001092939.GA1057@heinlein.local> <20061005235825.GB7053@home.power> <20061006153719.GC7053@home.power> <20061006155724.GE7053@home.power> <20061006162109.GF7053@home.power> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160180629 16232 80.91.229.2 (7 Oct 2006 00:23:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Oct 2006 00:23:49 +0000 (UTC) Original-X-From: supervision-return-1508-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Oct 07 02:23:48 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 1GVzym-0006WA-9A for gcsg-supervision@gmane.org; Sat, 07 Oct 2006 02:23:48 +0200 Original-Received: (qmail 1804 invoked by uid 76); 7 Oct 2006 00:24:09 -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 1798 invoked from network); 7 Oct 2006 00:24:09 -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:1272 Archived-At: Hi! On Fri, Oct 06, 2006 at 08:15:38PM -0400, Charlie Brady wrote: > I'd be surprised if you have 30 variables set. I have only these: > > @400000004526ef972d1a97bc SELINUX_INIT=YES > @400000004526ef972d1a9f8c CONSOLE=/dev/console > @400000004526ef972d1aa374 TERM=linux > @400000004526ef972d1aa374 INIT_VERSION=sysvinit-2.85 > @400000004526ef972d1aa75c > PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin > @400000004526ef972d1aab44 RUNLEVEL=7 > @400000004526ef972d1aaf2c PWD=/var/service/mysqld > @400000004526ef972d1aaf2c PREVLEVEL=N > @400000004526ef972d1ab314 HOME=/ > @400000004526ef972d1ab6fc SHLVL=1 > @400000004526ef972d1ab6fc _=/bin/env > > Add 'env' to one of your run scripts and you will learn what you have. Hmm. I've used 'set': BASH=/bin/sh BASH_ARGC=() BASH_ARGV=() BASH_LINENO=([0]="0") BASH_SOURCE=([0]="./run") BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") BASH_VERSION='3.1.17(1)-release' DIRSTACK=() EUID=0 GROUPS=() HOSTNAME=home HOSTTYPE=i686 IFS=' ' MACHTYPE=i686-pc-linux-gnu OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin POSIXLY_CORRECT=y PPID=19003 PS4='+ ' PWD=/service/1 SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments:posix SHLVL=1 TERM=dumb UID=0 _=/bin/sh but this probably wrong because it also show non-exported variables. 'env' show only these: PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin PWD=/service/1 SHLVL=1 _=/bin/env Ok then, I'll fix my ./run script. ;-D -- WBR, Alex.