From 0a73baa89cb9ec5d567535bbaa5b4fc918c712bc Mon Sep 17 00:00:00 2001 From: rtm516 Date: Thu, 30 Apr 2020 17:34:30 +0100 Subject: [PATCH] Wiki reformatting --- Creating-a-Startup-Script.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Creating-a-Startup-Script.md b/Creating-a-Startup-Script.md index a0b90ff..67c5c17 100644 --- a/Creating-a-Startup-Script.md +++ b/Creating-a-Startup-Script.md @@ -26,9 +26,8 @@ java -Xms1024M -jar Geyser.jar * Create a file called *run.sh*, and open it with a text editor. Type the text below into your `run.sh` file: ```sh #!/bin/sh -BINDIR=$(dirname"$(readlink -fn "$0")") -cd "$BINDIR" +cd "$( dirname "$0" )" java -Xms1024M -jar Geyser.jar ``` * In your default terminal application, make the file executable by running `chmod +x ~(dir)/run.sh` where `dir` is the name of the folder Geyser is in, or by changing the file permissions; -* Open your default terminal application, and type `chmod +x ~/(dir)/run.sh` to run Geyser. Geyser will generate all the needed files. \ No newline at end of file +* Open your default terminal application, and type `chmod +x ~/(dir)/run.sh` to run Geyser. Geyser will generate all the needed files.