mirror of
				https://github.com/yacy/yacy_search_server.git
				synced 2025-11-03 23:26:12 -05:00 
			
		
		
		
	- used Apache procrun as it has a small footprint and comes with a GUI to edit the service settings see http://commons.apache.org/proper/commons-daemon/procrun.html - added the service runner exe file under addon/windowsService as is (without renaming the exe files) - included installYaCyWindowsService.bat and uninstallYaCyWindowsService.bat to main directory - which chooses the native exe according to the processor_architecture
		
			
				
	
	
		
			14 lines
		
	
	
		
			400 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			400 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
@Echo Off
 | 
						|
title YaCy Windows Service UnInstall
 | 
						|
 | 
						|
Rem choose service runner executable according to processor architecture
 | 
						|
set exepath=addon\windowsService
 | 
						|
if /I "%PROCESSOR_ARCHITECTURE%"=="AMD64" set exepath=addon\windowsService\amd64
 | 
						|
if /I "%PROCESSOR_ARCHITECTURE%"=="IA64" set exepath=addon\windowsService\ia64
 | 
						|
 | 
						|
 | 
						|
REM UnInstall YaCy Windows Service
 | 
						|
%exepath%\prunsrv.exe //DS//YaCy 
 | 
						|
 | 
						|
 |