mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
修复README.md中 版本更新不work问题, 重启脚本中没有stop
This commit is contained in:
@@ -185,7 +185,7 @@ class ServiceManager {
|
|||||||
|
|
||||||
restart(daemon = false) {
|
restart(daemon = false) {
|
||||||
console.log('🔄 重启服务...')
|
console.log('🔄 重启服务...')
|
||||||
|
this.stop()
|
||||||
// 等待停止完成
|
// 等待停止完成
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.start(daemon)
|
this.start(daemon)
|
||||||
|
|||||||
Reference in New Issue
Block a user