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 From: "Dave Korn" To: Subject: RE: simple newbie init question Date: Wed, 21 Jan 2004 17:20:27 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <002b01c3e032$f6ea1b30$353d520a@EROUSE> Message-ID: X-OriginalArrivalTime: 21 Jan 2004 17:20:27.0576 (UTC) FILETIME=[DCF12380:01C3E042] > -----Original Message----- > From: cygwin-owner On Behalf Of Edward W. Rouse > I have installed Cygwin 1.5.5 on a Win2000 box. I included > all of the packages, just to be safe. But I can't figure out > where to add services to the init process. cygwin.bat starts > the bash shell fine and I have set the PATH and some variables there. There is no init process under cygwin. > I want to start PostgreSQL and cvs only when I have the > Cygwin session window open. That'll *really* slow down opening the cygwin bash shell if it has to start up a couple of heavy-duty servers every time, but it's your choice. > Where do I put the commands? ~/.bashrc That is to say, the .bashrc in your $HOME directory. > I have created a script to start and stop these services from > the command line, but would really like to automate the process. See also http://www.tishler.net/jason/software/postgresql/postgresql-7.4.1.README which details how you could get the cygwin version of postgresql up and running as a system service. I haven't tried that myself so I can't vouch for it personally but it looks like it ought to work to me.... cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/