diff --git a/Linux.md b/Linux.md index 59779bf..02c588d 100644 --- a/Linux.md +++ b/Linux.md @@ -1,7 +1,7 @@ # Installing on Linux Installing Statup on Linux is a 1 line command. It's that easy. ``` -bash <(curl -s https://statup.io/install.sh) +bash <(curl -s https://assets.statup.io/install.sh) statup version ``` @@ -37,7 +37,7 @@ You're Statup server will now automatically restart when your server restarts. You can even run Statup on your Raspberry Pi by installing the precompiled binary from [Latest Releases](https://github.com/hunterlong/statup/releases/latest). For the Raspberry Pi 3 you'll want to download the `statup-linux-arm7.tar.gz` file. Be sure to change `VERSION` to the latest version in Releases, and include the 'v'. ``` -VERSION=v0.24 +VERSION=$(curl -s "https://github.com/hunterlong/statup/releases/latest" | grep -o 'tag/[v.0-9]*' | awk -F/ '{print $2}') wget https://github.com/hunterlong/statup/releases/download/$VERSION/statup-linux-arm7.tar.gz tar -xvzf statup-linux-arm7.tar.gz chmod +x statup