MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / stop_project

Method stop_project

mod/project/python/serviceMod.py:625–631  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

623 return "启动指令已执行"
624
625 def stop_project(self):
626 services = [self._build_service_by_conf(i) for i in self.service_list]
627 for i in services[::-1]:
628 if isinstance(i, str):
629 continue
630 i.stop()
631 return "停止指令已执行"
632
633 def other_service_pids(self) -> Set[int]:
634 res_pid = []

Callers

nothing calls this directly

Calls 2

stopMethod · 0.45

Tested by

no test coverage detected