From d6bc37edf10b4b470253969b7b7c7a4e8975e89c Mon Sep 17 00:00:00 2001 From: dream80 <526381222@qq.com> Date: Sun, 26 Sep 2021 07:42:26 -0700 Subject: [PATCH] change process name --- .gitignore | 1 + README.md | 4 ++-- chia/daemon/server.py | 2 +- chia/server/start_service.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index dc3303e..c41f1ca 100644 --- a/.gitignore +++ b/.gitignore @@ -98,3 +98,4 @@ chia-blockchain-gui/src/locales/_build build_scripts\win_build build_scripts/win_build win_code_sign_cert.p12 +build_scripts/final_installer diff --git a/README.md b/README.md index b94a65e..5bfd023 100644 --- a/README.md +++ b/README.md @@ -82,8 +82,8 @@ PreFarm: 666,666six # DownLoad Installation package -[Windows](https://github.com/dream80/lucky-blockchain/releases/download/v1.2.10.10/LuckySetup-1.2.10.10.exe -[Ubuntu20.04](https://www.luckysix.top/Lucky-1.2.10.10_amd64.deb) +[Windows](https://github.com/dream80/lucky-blockchain/releases/download/v1.2.10.10/LuckySetup-1.2.10.10.exe) +[Ubuntu20.04](https://www.luckysix.top/Lucky-1.2.10.11_amd64.deb) MacOS Coming soon diff --git a/chia/daemon/server.py b/chia/daemon/server.py index ca20782..a60e955 100644 --- a/chia/daemon/server.py +++ b/chia/daemon/server.py @@ -977,7 +977,7 @@ def singleton(lockfile: Path, text: str = "semaphore") -> Optional[TextIO]: async def async_run_daemon(root_path: Path) -> int: chia_init(root_path) config = load_config(root_path, "config.yaml") - setproctitle("chia_daemon") + setproctitle("lucky_daemon") initialize_logging("daemon", config["logging"], root_path) lockfile = singleton(daemon_launch_lock_path(root_path)) crt_path = root_path / config["daemon_ssl"]["private_crt"] diff --git a/chia/server/start_service.py b/chia/server/start_service.py index f82667b..5ee9c77 100644 --- a/chia/server/start_service.py +++ b/chia/server/start_service.py @@ -64,7 +64,7 @@ def __init__( self._rpc_close_task: Optional[asyncio.Task] = None self._network_id: str = network_id - proctitle_name = f"chia_{service_name}" + proctitle_name = f"lucky_{service_name}" setproctitle(proctitle_name) self._log = logging.getLogger(service_name)