From 1965e56750b3d1359733c5b39ac3bf4178db2029 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 13 Dec 2024 11:35:18 -0500 Subject: [PATCH] message --- chia/server/start_full_node.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chia/server/start_full_node.py b/chia/server/start_full_node.py index 8d8902f10b24..585a78ad621c 100644 --- a/chia/server/start_full_node.py +++ b/chia/server/start_full_node.py @@ -2,6 +2,7 @@ import os import pathlib +import sys from multiprocessing import freeze_support from typing import Any, Optional @@ -103,3 +104,7 @@ def main(root_path: pathlib.Path, args: Optional[list[str]] = None) -> int: if not service_config.get("use_chia_loop_policy", True): target_peer_count = None return async_run(coro=async_main(service_config, root_path=root_path), connection_limit=target_peer_count) + + +if __name__ == "__main__": + sys.exit("module no longer directly callable, see the new command group `chia services`")