This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
IMPORTANT: Installing inetd or sth else as service
- To: cygwin <cygwin at sourceware dot cygnus dot com>
- Subject: IMPORTANT: Installing inetd or sth else as service
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Thu, 18 May 2000 01:20:04 +0200
- Organization: Cygnus Solutions, a Red Hat Company
- Reply-To: cygwin <cygwin at sourceware dot cygnus dot com>
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