Nging启动与中止bat

start_nginx.batjava

@echo off  
f:  
cd F:\server\nginx-1.13.6  
echo "nginx is starting on port 80"  
start "" "nginx.exe"  
exit  

stop_nginx.batnginx

@echo off
::windows 2000,98
::tskill /A nginx > nul
::windows xp above:
taskkill /F /IM nginx.exe > nul
exit
相关文章
相关标签/搜索