feat: add Windows one-click start/stop scripts for Gitea + Runner
CI / test (push) Successful in 6s

This commit is contained in:
2026-05-29 22:36:30 +08:00
parent 910625e523
commit db64df2da1
2 changed files with 98 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
@echo off
chcp 65001 >nul
title 停止 Gitea 服务
echo 正在停止 Gitea 服务...
:: 停止 Gitea
tasklist /FI "IMAGENAME eq gitea.exe" 2>NUL | find /I "gitea.exe" >NUL
if "%ERRORLEVEL%"=="0" (
taskkill /F /IM gitea.exe >nul 2>&1
echo Gitea 已停止。
) else (
echo Gitea 未在运行。
)
:: 停止 Runner
tasklist /FI "IMAGENAME eq act_runner.exe" 2>NUL | find /I "act_runner.exe" >NUL
if "%ERRORLEVEL%"=="0" (
taskkill /F /IM act_runner.exe >nul 2>&1
echo Runner 已停止。
) else (
echo Runner 未在运行。
)
echo.
echo 所有服务已停止。按任意键退出...
pause >nul