delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/21/13:05:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040121130109.039da880@127.0.0.1>
X-Sender:
Date: Wed, 21 Jan 2004 13:04:18 -0500
To: "Edward W. Rouse" <erouse AT comsquared DOT com>, <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: RE: simple newbie init question
In-Reply-To: <002c01c3e044$16422f20$353d520a@EROUSE>
References: <NUTMEGjtrLchpUEWTqg00000179 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <002c01c3e044$16422f20$353d520a AT EROUSE>
Mime-Version: 1.0

Ah, so you do want init services.  Install the 'inetutils' package and
read up on inetd.

Larry


At 12:29 PM 1/21/2004, Edward W. Rouse you wrote:
>Thanks, I found the doc page for .bashrc and .profile. And I got
>postgres starting fine. But I need to start pserver for use with cvs.
>Can I do this with the cygwin bash shell or some other way? I read the
>apache/cygwin page on starting httpd. Is their something similar for the
>cvs pserver?
>
>In other words, where does the line 'cvspserver stream tcp nowait root
>/usr/bin/cvs cvs --allow-root=/usr/local/cvsroot pserver' go?
>
>Ed.
>
>> -----Original Message-----
>> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On
>Behalf
>> Of Dave Korn
>> Sent: Wednesday, January 21, 2004 12:20 PM
>> To: cygwin AT cygwin DOT com
>> Subject: RE: simple newbie init question
>> 
>> 
>> 
>> > -----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/
>
>
>
>--
>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/

                 


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019