mirror of https://github.com/Justuser3310/jetwork/
parent
13df4e0bf8
commit
2d364582fa
@ -0,0 +1,15 @@
|
|||||||
|
# Здесь ищём порты и обновляем все сайты
|
||||||
|
|
||||||
|
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)
|
Loading…
Reference in new issue