Raspberry PI update script
: pt lis 18, 2016 5:06 pm
Gdyby ktoś chciał uaktualnić swoje raspberry
wget https://raw.githubusercontent.com/SUPLA ... _update.sh
chmod +x supla_pi_update.sh
sudo ./supla_pi_update.sh
Wynik powinien być mniej więcej taki:
[ ok ] Stopping supla-server (via systemctl): supla-server.service.
[ ok ] Stopping supla-dev (via systemctl): supla-dev.service.
[ ok ] Stopping apache2 (via systemctl): apache2.service.
Cloning into 'supla-cloud'...
remote: Counting objects: 9747, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 9747 (delta 0), reused 0 (delta 0), pack-reused 9719
Receiving objects: 100% (9747/9747), 8.52 MiB | 445.00 KiB/s, done.
Resolving deltas: 100% (3217/3217), done.
Checking connectivity... done.
Clearing the cache for the prod environment with debug false
Clearing the cache for the dev environment with debug true
Cloning into 'raspberry'...
remote: Counting objects: 84, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 84 (delta 1), reused 0 (delta 0), pack-reused 74
Unpacking objects: 100% (84/84), done.
Checking connectivity... done.
[ ok ] Starting supla-server (via systemctl): supla-server.service.
[ ok ] Starting supla-dev (via systemctl): supla-dev.service.
[ ok ] Starting apache2 (via systemctl): apache2.service.
FINISH
wget https://raw.githubusercontent.com/SUPLA ... _update.sh
chmod +x supla_pi_update.sh
sudo ./supla_pi_update.sh
Wynik powinien być mniej więcej taki:
[ ok ] Stopping supla-server (via systemctl): supla-server.service.
[ ok ] Stopping supla-dev (via systemctl): supla-dev.service.
[ ok ] Stopping apache2 (via systemctl): apache2.service.
Cloning into 'supla-cloud'...
remote: Counting objects: 9747, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 9747 (delta 0), reused 0 (delta 0), pack-reused 9719
Receiving objects: 100% (9747/9747), 8.52 MiB | 445.00 KiB/s, done.
Resolving deltas: 100% (3217/3217), done.
Checking connectivity... done.
Clearing the cache for the prod environment with debug false
Clearing the cache for the dev environment with debug true
Cloning into 'raspberry'...
remote: Counting objects: 84, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 84 (delta 1), reused 0 (delta 0), pack-reused 74
Unpacking objects: 100% (84/84), done.
Checking connectivity... done.
[ ok ] Starting supla-server (via systemctl): supla-server.service.
[ ok ] Starting supla-dev (via systemctl): supla-dev.service.
[ ok ] Starting apache2 (via systemctl): apache2.service.
FINISH