aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index 6842ef8..58ed452 100644
--- a/README.md
+++ b/README.md
@@ -126,10 +126,9 @@ You can make the server run automatically on reboot. This hasn't been tested, th
Add to **roots** crontab (run `sudo crontab -e`):
```
-@reboot cd ["BASE DIRECTORY"]/LYLLRuoka && node server.js
-# For example:
-# @reboot cd /home/foobar/LYLLRuoka/LYLLRuoka && node server.js
+@reboot BASE_DIR='["BASE_DIRECTORY"]' ["BASE_DIRECTORY"]/LYLLRuoka/init.sh
```
+For example: `@reboot BASE_DIR='/home/foobar/LYLLRuoka' /home/foobar/LYLLRuoka/LYLLRuoka/init.sh`
# Adding cool data that isn't required for the server to run