mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
use sudo to rm the backup folder
the data dir is written by root
This commit is contained in:
parent
20b7be621f
commit
0f77f890df
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ echo "🔃 Updating Alby Hub..."
|
|||
sudo systemctl stop albyhub
|
||||
|
||||
cd /opt/albyhub
|
||||
rm -rf albyhub-backup
|
||||
sudo rm -rf albyhub-backup
|
||||
mkdir albyhub-backup
|
||||
mv app albyhub-backup
|
||||
sudo cp -r data albyhub-backup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue