ChangeLog:
* configure.in: Remove --enable-server option. Allways add the cygserver directory to $SUBDIRS. * configure: Regenerate. cygwin/ChangeLog: Remove USE_SERVER define. Accommodate throughout. * configure.in: Remove --enable-server option. * configure: Regenerate. * environ.cc: Remove CYGWIN=server setting. cygserver/ChangeLog: * client.cc (allow_server): Remove variable. (client_request_get_version::client_request_get_version): Drop checking allow_server. utils/ChangeLog: * passwd.c: Remove CYGWIN=server requirement from usage text. doc/ChangeLog: * cygserver.sgml: Remove the "How to use the Cygserver services" section. * cygwinenv.sgml: Move "(no)server" to the removed options section. * faq-programming.xml: Remove CYGWIN=server requirement for running the Cygwin testsuite. * ntsec.sgml: Ditto for using `passwd -R'.
This commit is contained in:
@@ -191,51 +191,6 @@
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 id="use-cygserver"><title>How to use the Cygserver services</title>
|
||||
|
||||
<para>
|
||||
The Cygserver services are used by Cygwin applications only if you
|
||||
set the environment variable CYGWIN to contain the string "server".
|
||||
You must do this before starting the application.
|
||||
</para>
|
||||
<para>
|
||||
Typically, you don't need any other option, so it's ok to set CYGWIN
|
||||
just to "server". It is not necessary to set the CYGWIN environment
|
||||
variable prior to starting the Cygserver process itself, but it won't
|
||||
hurt to do so.
|
||||
</para>
|
||||
<para>
|
||||
The easiest way is to set the environment variable CYGWIN to the values
|
||||
you want in the Windows system environment and to reboot the machine.
|
||||
This is advisable, since it allows you to set the variable once and
|
||||
then forget about it. It also ensures that services as well as desktop
|
||||
applications have the same setting.
|
||||
</para>
|
||||
<para>
|
||||
If you don't want that for whatever reason, you can set the
|
||||
variable in the /cygwin.bat file which is used in the net distribution,
|
||||
to start a Cygwin bash from the desktop. In that file, you can set
|
||||
the CYGWIN variable using Windows command line interpreter syntax, e. g.:
|
||||
</para>
|
||||
<para>
|
||||
<screen>
|
||||
set CYGWIN=server
|
||||
</screen>
|
||||
</para>
|
||||
<para>
|
||||
If you don't set CYGWIN in the system environment, but you're running
|
||||
other Cygwin services, these services need to get that CYGWIN value by
|
||||
setting the environment using the appropriate cygrunsrv option '-e' when
|
||||
installing the service. Example installing a service 'foo':
|
||||
</para>
|
||||
<para>
|
||||
<screen>
|
||||
cygrunsrv -I foo -p /usr/sbin/foo -e "CYGWIN=server"
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 id="cygserver-config"><title>The Cygserver configuration file</title>
|
||||
|
||||
<para>
|
||||
|
Reference in New Issue
Block a user