@echo off
tasklist |findstr /i "nginx.exe"
if %errorlevel%==0 (goto killnginx) else (goto startnginx)
:killnginx
taskkill /f /im nginx.exe
:startnginx
del c:\thunder\cloudlibrary\logs\access.log
del c:\thunder\cloudlibrary\logs\error.log
start nginx
