Add process controls and restart command

This commit is contained in:
Azimkin
2026-08-28 23:25:20 +02:00
parent 12434ec557
commit d3c02ca203
14 changed files with 358 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ from pathlib import Path
from app.config import load_app_config
from app.manager import AccountManager
from app.pyrogram_compat import install_kurigram_compat
LOG_FORMAT = "%(asctime)s | %(levelname)s | %(name)s | %(message)s"
@@ -37,6 +38,7 @@ _ROOT = Path(__file__).resolve().parent
async def main() -> None:
install_kurigram_compat()
config = load_app_config(_ROOT)
manager = AccountManager(config)
await manager.run()