Add start_server_managed.sh wrapper

This commit is contained in:
jmadmin committed 2026-09-15 10:48:25 -03:00
1 parent d2348fdf5e
commit 847c1a5009
1 file changed
+14
+14
View File
@@ -0,0 +1,14 @@
cat > "${VALHEIMDIR}/start_server_managed.sh" << 'EOF'
#!/usr/bin/env bash
set -euo pipefail
# Forward environment variables into the BepInEx launcher
exec ./start_server_bepinex.sh \
-name "${SERVER_NAME}" \
-port 2456 \
-world "${WORLD_NAME}" \
-password "${SERVER_PASSWORD}" \
-public "${PUBLIC}"
EOF
chmod +x "${VALHEIMDIR}/start_server_managed.sh"