Skip to content

Commit

Permalink
Merge pull request #96 from freifunk-saar/readme
Browse files Browse the repository at this point in the history
remove some more rust-version leftovers
  • Loading branch information
RalfJung authored Dec 31, 2023
2 parents 9beedab + 5f08584 commit d936c29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ To upgrade the service to the latest git version, follow these steps:
cd ~ff-node-monitor/src/
git pull
sudo rm target/release/ff-node-monitor
sudo -u ff-node-monitor ~ff-node-monitor/.cargo/bin/rustup default $(cat rust-version)
sudo -u ff-node-monitor ~ff-node-monitor/.cargo/bin/cargo build --release
sudo systemctl restart ff-node-monitor
```
Expand Down
2 changes: 1 addition & 1 deletion vagrant/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test -d src || $ffsudo git clone https://github.com/freifunk-saar/ff-node-monito

: "#### ff-node-monitor is written in Rust using Rocket, which means it needs a nightly version of Rust:"
if ! test -f $HOME_PATH/.cargo/bin/rustc; then
curl https://sh.rustup.rs -sSf | $ffsudo sh -s -- -y --default-toolchain $(cat "$HOME_PATH/src/rust-version")
curl https://sh.rustup.rs -sSf | $ffsudo sh -s -- -y
fi
cd "$HOME_PATH/src"
$ffsudo "$HOME_PATH/.cargo/bin/cargo" build --release
Expand Down

0 comments on commit d936c29

Please sign in to comment.