Subject: IMPORTANT: Installing inetd or sth else as service
From: Corinna Vinschen <[email-masked]>
To: cygwin <[email-masked]>
Date: Thu, 18 May 2000 01:20:04 +0200

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 [email-masked]