CygWin Windows Service support released - Round 2

From: Guido Serassio <serassio@dont-contact.us>
Date: Sun, 29 Apr 2001 17:18:21 +0200

Hi,

I made some changes on CygWin port when compiled as Windows service:

The --enable-win32-service configure option still enable the Windows
service code.
When in Windows service mode the -N Squid switch is disabled, and default
run mode of Squid is no daemon (=no service) mode, so is possible to run
Squid from command line for debug purpose with all command line options
available.

The service installation is made with -i command line switch, it's possible
to use -f switch at the same time for specify a different config-file
settings for the SquidNT service that is stored on Registry.
So the install service syntax now is "squid -i [-f file]".
To start as service is used a "hidden" --ntservice command line switch.

Service uninstallation is still made with -r command line switch.

With this new code arrangement, it will be more easy change it in manner to
make possible to run more Squid service instance on the same machine.

Actually, the main unresolved problem is the command line switches
unavailability when running as a Windows Service.

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
Tel. : +39.011.610749
E-mail: serassio@interfree.it
            serassio@libero.it
WWW: http://serassio.interfree.it
Received on Sun Apr 29 2001 - 09:18:30 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:51 MST