mirror of https://github.com/statping/statping
Adds location (follow) to a curl command
parent
2726a97651
commit
a4a2e2b0c2
2
Linux.md
2
Linux.md
|
@ -54,7 +54,7 @@ You're Statping server will now automatically restart when your server restarts.
|
||||||
You can even run Statping on your Raspberry Pi by installing the precompiled binary from [Latest Releases](https://github.com/hunterlong/statping/releases/latest). For the Raspberry Pi 3 you'll want to download the `statping-linux-arm7.tar.gz` file. Be sure to change `VERSION` to the latest version in Releases, and include the 'v'.
|
You can even run Statping on your Raspberry Pi by installing the precompiled binary from [Latest Releases](https://github.com/hunterlong/statping/releases/latest). For the Raspberry Pi 3 you'll want to download the `statping-linux-arm7.tar.gz` file. Be sure to change `VERSION` to the latest version in Releases, and include the 'v'.
|
||||||
|
|
||||||
```
|
```
|
||||||
VERSION=$(curl -s "https://github.com/hunterlong/statping/releases/latest" | grep -o 'tag/[v.0-9]*' | awk -F/ '{print $2}')
|
VERSION=$(curl -sL "https://github.com/hunterlong/statping/releases/latest" | grep -o 'tag/[v.0-9]*' | awk -F/ '{print $2}')
|
||||||
wget https://github.com/hunterlong/statping/releases/download/$VERSION/statping-linux-arm7.tar.gz
|
wget https://github.com/hunterlong/statping/releases/download/$VERSION/statping-linux-arm7.tar.gz
|
||||||
tar -xvzf statping-linux-arm7.tar.gz
|
tar -xvzf statping-linux-arm7.tar.gz
|
||||||
chmod +x statping
|
chmod +x statping
|
||||||
|
|
Loading…
Reference in New Issue