aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoel Kronqvist <work.joelkronqvist@gmail.com>2022-10-17 19:43:07 +0300
committerJoel Kronqvist <work.joelkronqvist@gmail.com>2022-10-17 19:43:07 +0300
commit0f8dcba6fe350ffb74331cb636046c30e784ca8d (patch)
tree5e059f0c608c1d01cb0930d8f9c49ba7b2a64768 /README.md
parent22a4830bb09cbecf6c2e8e52601a4e821bddbe8e (diff)
downloadLYLLRuoka-0f8dcba6fe350ffb74331cb636046c30e784ca8d.tar.gz
LYLLRuoka-0f8dcba6fe350ffb74331cb636046c30e784ca8d.zip
Added instructions to start server at reboot. Doesn't neccessarily work. Updated the init script. No server code updates for now.
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