v8.1.6: Add UDP listener checker functionality

Introduces the ability to enable or disable a checker service for UDP listeners. Includes UI updates, database migration, new API route, and backend logic to handle checker settings on UDP listeners.
This commit is contained in:
Aidaho
2025-02-19 10:49:07 +03:00
parent fc0ccb8f9c
commit f3f540c291
11 changed files with 113 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
import json
import os
from flask import render_template
@@ -472,6 +473,7 @@ def delete_server(server_id: int) -> None:
server_sql.delete_system_info(server_id)
service_sql.delete_service_settings(server_id)
roxywi_common.logging(server.ip, f'The server {server.hostname} has been deleted', roxywi=1, login=1)
os.system(f'ssh-keygen -R {server.ip}')
def server_is_up(server_ip: str) -> str: