optimized installer

This commit is contained in:
2026-09-17 13:29:45 +05:00
parent 01f8dbe860
commit 298124c30f
4 changed files with 1322 additions and 81 deletions
+5
View File
@@ -2,19 +2,24 @@ import time
from .database import initialize_database
from .scheduler import start_scheduler, stop_scheduler
from .ipc import start_ipc_server, stop_ipc_server
def main():
initialize_database()
start_ipc_server()
start_scheduler()
try:
while True:
time.sleep(60)
except KeyboardInterrupt:
pass
finally:
stop_scheduler()
stop_ipc_server()
if __name__ == "__main__":