fix: 修复systemd socket协议、格式化代码、拆分配置常量

This commit is contained in:
2026-06-08 10:30:38 +08:00
parent c99188ef78
commit 3f7ebfb52e
4 changed files with 106 additions and 99 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ module ServerStatusDetector
class MinecraftServer < TcpServer # 继承为TcpServer编写的属性和方法
def self.self_diag()
def self_diag
res = test_port('127.0.0.1', 25565)