mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
* chore: better handle ports on Pi and allow albyhub to run on port 80 * chore: install script: create data dir before running docker compose * chore: install script for pi-aarch64 * chore: pi-zero move lib folder on update * chore: replace (not append) files in install scripts * chore: install text
24 lines
497 B
Bash
24 lines
497 B
Bash
#!/bin/bash
|
|
|
|
echo "🔃 Updating Alby Hub..."
|
|
sudo systemctl stop albyhub
|
|
|
|
# Download new artifacts
|
|
cd /opt/albyhub
|
|
rm -rf albyhub-backup
|
|
mkdir albyhub-backup
|
|
mv bin albyhub-backup
|
|
mv lib albyhub-backup
|
|
cp -r data albyhub-backup
|
|
|
|
wget https://getalby.com/install/hub/server-linux-aarch64.tar.bz2
|
|
|
|
# Extract archives
|
|
tar -xvf server-linux-aarch64.tar.bz2
|
|
|
|
# Cleanup
|
|
rm server-linux-aarch64.tar.bz2
|
|
|
|
sudo systemctl start albyhub
|
|
|
|
echo "✅ Update finished! Please login again to start your wallet."
|