This commit is contained in:
2025-10-14 23:16:08 -05:00
parent 7925577fe4
commit 835782ff53
2 changed files with 17 additions and 0 deletions

View File

@@ -79,6 +79,9 @@ in
SSH_PORT = cfg.ssh_port;
START_SSH_SERVER = true;
ENABLE_PUSH_CREATE_USER = true;
ALLOW_LOCALNETWORKS = true;
ALLOWED_DOMAINS = "10.10.0.10";
SKIP_TLS_VERIFY = true;
};
};

View File

@@ -71,6 +71,20 @@ in {
'')
motd_list)}
echo
echo
# --- gameservers ---
echo -e "''${headings}gameservers''${reset}"
for service in velocity smp superflat bento; do
status=$(systemctl is-active $service 2>/dev/null)
if [ "''${status}" = "active" ]; then
echo -e " ''${active}$service''${reset} - running"
else
echo -e " ''${inactive}$service''${reset} - not running"
fi
echo
'';