diff options
author | JoelHMikael <joel.h.kronqvist@gmail.com> | 2021-12-19 19:55:51 +0200 |
---|---|---|
committer | JoelHMikael <joel.h.kronqvist@gmail.com> | 2021-12-19 19:55:51 +0200 |
commit | e5bd4fe003b5e8478da3f8a44d95acfcfb1267ac (patch) | |
tree | a9e766aee29d7a6031bed591f3bae5163fa173fb | |
parent | 0cd168efb270cff37d6c3121529ecbf29b226e51 (diff) | |
download | LYLLRuoka-e5bd4fe003b5e8478da3f8a44d95acfcfb1267ac.tar.gz LYLLRuoka-e5bd4fe003b5e8478da3f8a44d95acfcfb1267ac.zip |
More fixes to the running
-rw-r--r-- | crontab_add.txt | 2 | ||||
-rwxr-xr-x | init.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/crontab_add.txt b/crontab_add.txt index 5e7db63..c5135cb 100644 --- a/crontab_add.txt +++ b/crontab_add.txt @@ -1,6 +1,6 @@ # these are probably going to need some fixing, for example the shutdown path may differ # to normal user: -@reboot /home/USERNAME/FoodJS/init.sh +@reboot /home/USERNAME/init.sh # to root: 0 0 * * 7 /sbin/shutdown -r now @@ -1,4 +1,6 @@ #!/bin/sh +# Put in this dir so that it can execute: cd /home/joel +rm -r -f ./FoodJS git clone "https://github.com/JoelHMikael/FoodJS.git" >> /tmp/test.txt node ./FoodJS/server.js |