Add start_server_managed.sh wrapper
This commit is contained in:
1 parent
d2348fdf5e
commit
847c1a5009
1 file changed
+14
@@ -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"
|
||||
Reference in new issue
Block a user