增加注册Windows服务工具脚本
This commit is contained in:
		
							parent
							
								
									4b64f4137f
								
							
						
					
					
						commit
						ed20fdebd7
					
				
							
								
								
									
										8
									
								
								FAuth/Tools/Readme.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								FAuth/Tools/Readme.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,8 @@
 | 
			
		||||
注册FAuth为Windows服务。
 | 
			
		||||
 | 
			
		||||
注册:
 | 
			
		||||
1、打开RegisterService.bat 修改网站exe程序和运行路径。
 | 
			
		||||
2、执行bat脚本。
 | 
			
		||||
 | 
			
		||||
卸载:
 | 
			
		||||
执行UnRegisterService.bat脚本。
 | 
			
		||||
							
								
								
									
										2
									
								
								FAuth/Tools/RegisterService.bat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								FAuth/Tools/RegisterService.bat
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
			
		||||
sc create FAuth start= auto binPath= "C:\Services\FAuth\FAuth.exe"
 | 
			
		||||
pause
 | 
			
		||||
							
								
								
									
										2
									
								
								FAuth/Tools/UnRegisterService.bat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								FAuth/Tools/UnRegisterService.bat
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
			
		||||
sc delete FAuth
 | 
			
		||||
pause
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user