Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3B818555.6000402@ece.gatech.edu>
Date: Mon, 20 Aug 2001 17:47:01 -0400
From: Charles Wilson <cwilson@ece.gatech.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: Michael Erdely <cygwin@cygwin.com>
CC: joshua@redhat.com
Subject: Re: sshd_config for Cygwin
References: <003d01c129bf$4ac2d760$1419a8c0@mercury>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

> Also, a more general question.  Are there start-up scripts for services
> in Cygwin? I'm not looking for anything Sys V'ish, and I can hack up the
> .bashrc file to start things, but is there a cleaner, perhaps "official"
> way of starting things?


Cygwin piggybacks off of the normal windows "services" startup -- at 
least on WinNT/2K (not sure about win9x/Me).  check the readme for 
'cygrunsrv' in /usr/doc/Cygwin.  sshd and (I think) postgres daemons use 
cygrunsrv.

Also, inetd was ported prior to the creation of cygrunsrc, so it (inetd) 
has the capability to install itself into the windows services list 
without requiring cygrunsrv's assistance.  (Ditto ipc-daemon, an 
off-site external package).  Check /usr/doc/cygwin/inetd...README.

You may need to just use a vbs script in your Startup folder on 
Win9x/Me.  Ugly, I know -- but that's 9x for ya.

--Chuck


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

