Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <39232924.AF663AC2@vinschen.de>
Date: Thu, 18 May 2000 01:20:04 +0200
From: Corinna Vinschen <corinna@vinschen.de>
Reply-To: cygwin <cygwin@sourceware.cygnus.com>
Organization: Cygnus Solutions, a Red Hat Company
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin@sourceware.cygnus.com>
Subject: IMPORTANT: Installing inetd or sth else as service
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

If this isn't clear to everyone:

If you want to install _any_ cygwin application as service
eg. inetd or sshd, you'll have to care for the following
fact:

A service is dependent of the correct setting of the system
environment variables. You can't change the system environment
and then start a service that knows about the new system env.
variable setting but you _must_ restart the system.

If you start a cygwin application as service, regardless if
it's started directly (like eg. inetd) or via SRVANY (like
eg. sshd) you have to change the system environment to give
that cygwin apps a good start:

- PATH must contain the directory where cygwin1.dll resides.

- CYGWIN has to be set to your preferred values.

If you don't know how to change system variables:

NT4: Right click icon "My Computer" -> "Properties" ->
     "Environment" -> "System variables".

W2K: Right click icon "My Computer" -> "Properties" ->
     "Advanced" -> "Environment Variables..." ->
     "System variables".

And last but not least the following _very_ important
hint:

- Applications which are started from service manager and
  all child applications does only have access to system
  mount points!!! Forget all user mount points in that case.

Hope, that helps,

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

