Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 13 Nov 2002 15:50:09 -0500 From: Jason Tishler Subject: Re: [patch] postgresql 'rc' like start script In-reply-to: <008501c26e4b$66759660$686607d5@BRAMSCHE> To: Ralf Habacker Cc: cygwin AT cygwin DOT com Mail-followup-to: Ralf Habacker , cygwin AT cygwin DOT com Message-id: <20021113205009.GE800@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <008501c26e4b$66759660$686607d5 AT BRAMSCHE> Ralf, On Mon, Oct 07, 2002 at 11:49:24PM +0200, Ralf Habacker wrote: > May be this could be the startpoint for a more unix like > standardisation of cygwin services like postgresql, apache, cron, > inetd apache: (at leased) I would prefer to leverage off of Sergey's sysvinit package: http://cygwin.com/ml/cygwin/2002-11/msg00669.html The following is the only required diff (besides the expected ones) to PostgreSQL's contrib/start-scripts/linux: @@ -76,7 +76,7 @@ case $1 in ;; restart) echo -n "Restarting PostgreSQL: " - su - $PGUSER -c "$DAEMON restart -D '$PGDATA' -s -m fast" + su - $PGUSER -c "$DAEMON restart -D '$PGDATA' -s -m fast -l $PGLOG" echo "ok" ;; status) Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/