added upgrade script

This commit is contained in:
Paul 2023-04-10 16:02:54 +02:00
parent 301775c91d
commit 2dfee34f7c

6
scripts/upgrade.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
git pull
cargo b --release
sudo systemctl stop ipblc
sudo cp target/release/ipblc /usr/local/apps/ipblc/ipblc
sudo systemctl start ipblc