Skip to content

Commit 1d6ddb5

Browse files
NatfanStrokkur424
andauthored
chore: Update Velocity chmod guide (#520)
Co-authored-by: Strokkur424 <[email protected]>
1 parent 6074ec8 commit 1d6ddb5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/content/docs/velocity/admin/getting-started/getting-started.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,13 @@ host.
5757
java -Xms1G -Xmx1G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -jar velocity*.jar
5858
```
5959

60-
Once saved, open a terminal (or log into the machine) if you haven't already, navigate to the
61-
directory where you have placed the Velocity JAR file and the `start.sh` file. Then run
62-
`chmod +x start.sh` and then `./start.sh`. If it worked, you should now receive a console similar to
63-
the output in the next section.
60+
Once you've saved the files, open a terminal (or log into the machine) if you haven't already. Navigate to the directory
61+
where you have placed the Velocity JAR file and the `start.sh` file. Then, you will need to prepare the `start.sh`
62+
script for it to be executable and run it.
63+
64+
1. Run `chmod u+x start.sh`. This command modifies the file's permissions, granting the file's owner (you) the ability to
65+
execute (`x`) the script. Without this step, the system may not recognize the script as something that can be run.
66+
1. Now that the file is executable, run `./start.sh` to run the script.
6467

6568
## After launch
6669

0 commit comments

Comments
 (0)