Skip to content

Commit

Permalink
Merge pull request #5410 from Ricket/start-server-args
Browse files Browse the repository at this point in the history
Allow passing arguments to start-server.sh
  • Loading branch information
NielsPilgaard authored Aug 15, 2023
2 parents 17cb491 + 4e47c4c commit 595bd34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server_files/start-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else
echo "Neither wget or curl were found on your system. Please install one and try again"
fi
fi
java -jar serverstarter-2.4.0.jar
java -jar serverstarter-2.4.0.jar "$@"
if [[ $DO_RAMDISK -eq 1 ]]; then
sudo umount "$SAVE_DIR"
rm -rf "$SAVE_DIR"
Expand Down
2 changes: 1 addition & 1 deletion server_files_expert/start-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else
echo "Neither wget or curl were found on your system. Please install one and try again"
fi
fi
java -jar serverstarter-2.4.0.jar
java -jar serverstarter-2.4.0.jar "$@"
if [[ $DO_RAMDISK -eq 1 ]]; then
sudo umount "$SAVE_DIR"
rm -rf "$SAVE_DIR"
Expand Down

0 comments on commit 595bd34

Please sign in to comment.