mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
chore: use official download url for pi install (#551)
Co-authored-by: René Aaron <rene@twentyuno.net>
This commit is contained in:
parent
d65211f82c
commit
d89f08bfaf
2 changed files with 7 additions and 7 deletions
|
|
@ -8,13 +8,13 @@ echo "Installing..."
|
|||
sudo mkdir -p /opt/albyhub
|
||||
sudo chown -R $USER:$USER /opt/albyhub
|
||||
cd /opt/albyhub
|
||||
wget https://github.com/getAlby/nostr-wallet-connect-next/releases/latest/download/albyhub-Server-Linux-armv6.tar.bz2
|
||||
wget https://getalby.com/install/hub/server-linux-armv6.tar.bz2
|
||||
|
||||
# Extract archives
|
||||
tar -xvf albyhub-Server-Linux-armv6.tar.bz2
|
||||
tar -xvf server-linux-armv6.tar.bz2
|
||||
|
||||
# Cleanup
|
||||
rm albyhub-Server-Linux-armv6.tar.bz2
|
||||
rm server-linux-armv6.tar.bz2
|
||||
|
||||
### Create systemd service
|
||||
sudo tee -a /etc/systemd/system/albyhub.service > /dev/null << EOF
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ rm -rf albyhub-backup
|
|||
mkdir albyhub-backup
|
||||
mv bin albyhub-backup
|
||||
cp -r data albyhub-backup
|
||||
wget https://github.com/getAlby/nostr-wallet-connect-next/releases/latest/download/albyhub-Server-Linux-armv6.tar.bz2
|
||||
wget https://getalby.com/install/hub/server-linux-armv6.tar.bz2
|
||||
|
||||
# Extract archives
|
||||
tar -xvf albyhub-Server-Linux-armv6.tar.bz2
|
||||
tar -xvf server-linux-armv6.tar.bz2
|
||||
|
||||
# Cleanup
|
||||
rm albyhub-Server-Linux-armv6.tar.bz2
|
||||
rm server-linux-armv6.tar.bz2
|
||||
|
||||
sudo systemctl start albyhub
|
||||
|
||||
echo "✅ Update finished! Please login again to start your wallet."
|
||||
echo "✅ Update finished! Please login again to start your wallet."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue