mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-02-08 01:37:38 +00:00
16 lines
278 B
Python
16 lines
278 B
Python
|
# Здесь ищём порты и обновляем все сайты
|
||
|
|
||
|
from time import sleep
|
||
|
from db import *
|
||
|
from network import *
|
||
|
|
||
|
def update_demon(serv_port):
|
||
|
while True:
|
||
|
ports = port_check(serv_port)
|
||
|
|
||
|
conf = read()
|
||
|
conf["ports"] = ports
|
||
|
write(conf)
|
||
|
|
||
|
sleep(8)
|