--------------------- PatchSet 2467 Date: 2001/06/02 13:54:29 Author: serassio Branch: cygwin-svc Tag: (none) Log: Added documentation on service run mode Members: doc/win32-relnotes.txt:1.1.2.2->1.1.2.2.2.1 Index: squid/doc/win32-relnotes.txt =================================================================== RCS file: /cvsroot/squid-sf//squid/doc/Attic/win32-relnotes.txt,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.2.2.1 diff -u -r1.1.2.2 -r1.1.2.2.2.1 --- squid/doc/win32-relnotes.txt 2 Jun 2001 09:48:23 -0000 1.1.2.2 +++ squid/doc/win32-relnotes.txt 2 Jun 2001 13:54:29 -0000 1.1.2.2.2.1 @@ -1,6 +1,34 @@ WIN32 Squid Relese Notes +Windows Service running mode + +To enable the service mode, use the --enable-win32-service configure option +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 Squid +Service that is stored on Registry. +A new -n switch specify the Windows Service Name, so multiple Squid instance are allowed. +"SquidNT" is the default when the switch is not used. + +So the install service syntax is "squid -i [-f file] [-n name]". + +To start as service is used a "hidden" --ntservice:service-name command line switch, +where service-name is the name specified with -n options at service install time. + +Service uninstallation is made with -r command line switch plus the appropriate +-n switch. + +The -k switch family must be used with the appropriate -n switch, so the syntax is: + +squid -k command -n service-name + +where service-name is the name specified with -n options at service install time. + + PSAPI.DLL (Process Status Helper) Considerations