Install Find as a Service on Windows
The recommended way to install Find as a Windows service is to use the interactive installer.
The interactive installer creates a Windows service using WinSW (https://github.com/winsw/winsw/releases). This is a utility that can run any executable as a Windows service. If you prefer to configure this yourself, download a copy of WinSW, and rename the winsw.exe
executable file to find.exe
.
The Find zip package includes a WinSW configuration file, located at install\windows\winsw\find.xml
. Ensure that you replace the variables, including the Find service name, port, home directory, and installation directory, with suitable values. You must also ensure that the service wrapper (that you renamed to find.exe
) and the find.xml
configuration file are placed in the same directory.
Then, to install Find as a service, run the following command:
find.exe install
NOTE: You can also use the following commands with find.exe
:
uninstall
start
stop
status
For more information, refer to the WinSW documentation.