Commit dd082b45 by Lambok Sinaga

Update install.sh

parent 788d10a5
...@@ -5,4 +5,5 @@ git clone -c http.sslverify=false https://gitlab.del.ac.id/lamboksinaga/node-red ...@@ -5,4 +5,5 @@ git clone -c http.sslverify=false https://gitlab.del.ac.id/lamboksinaga/node-red
cd /home/pi/node-red-custom cd /home/pi/node-red-custom
sudo echo "@reboot sh /home/pi/node-red-custom/launcher.sh > /home/pi/node-red-custom/logs/cronlog 2>&1" | sudo tee -a /var/spool/cron/crontabs/pi sudo echo "@reboot sh /home/pi/node-red-custom/launcher.sh > /home/pi/node-red-custom/logs/cronlog 2>&1" | sudo tee -a /var/spool/cron/crontabs/pi
sudo echo "*/1 * * * * sh /home/pi/node-red-custom/update.sh > /home/pi/node-red-custom/logs/update.log 2>&1" | sudo tee -a /var/spool/cron/crontabs/pi sudo echo "*/1 * * * * sh /home/pi/node-red-custom/update.sh > /home/pi/node-red-custom/logs/update.log 2>&1" | sudo tee -a /var/spool/cron/crontabs/pi
sudo service cron reload
sudo python /home/pi/node-red-custom/run_api.py sudo python /home/pi/node-red-custom/run_api.py
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment