From 2e9c27f36adefc7c8799e3637ad563000ddc1013 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 9 Jul 2017 21:59:36 -0400 Subject: [PATCH] A way to do it without variables Found in the OxideMod example start script. Needs testing, but I'd imagine it works. --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 4e97c75..0c5805e 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,5 +17,8 @@ if [ -f OXIDE_FLAG ]; then rm oxide.zip fi +# Fix for Rust not starting +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd) + # Run the Server node /wrapper.js "${MODIFIED_STARTUP}"