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: "Edward W. Rouse" To: Subject: simple newbie init question Date: Wed, 21 Jan 2004 10:26:39 -0500 Message-ID: <002b01c3e032$f6ea1b30$353d520a@EROUSE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: X-IsSubscribed: yes 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. I want to start PostgreSQL and cvs only when I have the Cygwin session window open. Where do I put the commands? I have created a script to start and stop these services from the command line, but would really like to automate the process. I am more familiar with the way SuSE works and following the RedHat reference guide did not help. I searched the archives and the Cygwin documentation but didn't find anything that addresses starting and stopping services when using the bash shell. I did see someone mention a .bash-shutdown file. Is there also a .bash-startup file and where would it go? Or am I supposed to use the /etc/defaults/etc/bash.bashrc file? Ed. -- 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/