From fc39383cc2ad4989a14d470645df78a799573673 Mon Sep 17 00:00:00 2001 From: profitroll Date: Tue, 2 May 2023 11:21:21 +0200 Subject: [PATCH] Changed service names --- modules/commands/bye.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/bye.py b/modules/commands/bye.py index 4896d49..5b7eb32 100644 --- a/modules/commands/bye.py +++ b/modules/commands/bye.py @@ -74,6 +74,6 @@ async def command_bye(app: Client, msg: Message): await asyncio.sleep(delay_text) for service in ["holochecker_api", "holochecker_bot"]: - system(f"service {service} stop") + system(f"/usr/bin/systemctl stop {service}.service") print(f"Stopped service {service}") await asyncio.sleep(2)