mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-17 16:00:35 +08:00
fix: update service status when service is ready
This commit is contained in:
parent
af0a3be66d
commit
c1489647d1
@ -532,6 +532,7 @@ impl ServiceManager {
|
|||||||
match status {
|
match status {
|
||||||
ServiceStatus::Ready => {
|
ServiceStatus::Ready => {
|
||||||
logging!(info, Type::Service, "服务就绪,直接启动");
|
logging!(info, Type::Service, "服务就绪,直接启动");
|
||||||
|
self.0 = ServiceStatus::Ready;
|
||||||
}
|
}
|
||||||
ServiceStatus::NeedsReinstall | ServiceStatus::ReinstallRequired => {
|
ServiceStatus::NeedsReinstall | ServiceStatus::ReinstallRequired => {
|
||||||
logging!(info, Type::Service, "服务需要重装,执行重装流程");
|
logging!(info, Type::Service, "服务需要重装,执行重装流程");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user