Starting SCGI servers automatically
Note: this feature requires V0.6 or later of isapi_scgi.
You may choose to start your SCGI server automatically and independently of IIS. Alternatively, you can configure isapi_scgi to start the server automatically when the first request is received and to shut it down when IIS unloads the extension (for example, when IIS is shut down).
To have isapi_scgi automatically start the SCGI server, set the configuration variable SCGIServerStartCommand. The value must be the full command including a full path and arguments, if any. isapi_scgi will execute this command without any validation or error checking. Similarly, to have isapi_scgi automatically shut down the SCGI server, set the configuration variable SCGIServerStopCommand. For example, if your SCGI server runs as the Windows service myscgiapp, you might have the following two lines in the isapi_scgi configuration file:
SCGIServerStartCommand= net start myscgiapp SCGIServerStopCommand= net stop myscgiapp
- Login to post comments
