Changed service names
This commit is contained in:
parent
e5761ae1d0
commit
fc39383cc2
@ -74,6 +74,6 @@ async def command_bye(app: Client, msg: Message):
|
|||||||
await asyncio.sleep(delay_text)
|
await asyncio.sleep(delay_text)
|
||||||
|
|
||||||
for service in ["holochecker_api", "holochecker_bot"]:
|
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}")
|
print(f"Stopped service {service}")
|
||||||
await asyncio.sleep(2)
|
await asyncio.sleep(2)
|
||||||
|
Reference in New Issue
Block a user