Changed service names

This commit is contained in:
Profitroll 2023-05-02 11:21:21 +02:00
parent e5761ae1d0
commit fc39383cc2
1 changed files with 1 additions and 1 deletions

View File

@ -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)