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)