Initial commit: crypto_key API key manager with PM2 and Ubuntu deploy docs
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# PM2 重启脚本 (Windows PowerShell)
|
||||
# 用法: .\pm2-restart.ps1
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
if (-not (Get-Command pm2 -ErrorAction SilentlyContinue)) {
|
||||
Write-Host "[错误] 未找到 pm2" -ForegroundColor Red
|
||||
exit 1
|
||||
}
|
||||
|
||||
pm2 restart api-key-manager
|
||||
Write-Host "已重启 api-key-manager" -ForegroundColor Green
|
||||
Write-Host "访问: http://127.0.0.1:5200" -ForegroundColor Cyan
|
||||
Reference in New Issue
Block a user