1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borg_ynh.git synced 2024-09-03 18:16:05 +02:00

Update doc/ADMIN.md: replace source venv/bin/activate with PATH prepend

This commit is contained in:
Alexandre Aubin 2024-07-24 16:39:51 +02:00 committed by GitHub
parent 7038c68a64
commit 904717b032
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,7 @@ First, prepare the environment with the appropriate borg variables, etc:
```bash
app=borg
source /var/www/$app/venv/bin/activate
PATH="/var/www/$app/venv/bin/:$PATH"
export BORG_PASSPHRASE="$(sudo yunohost app setting $app passphrase)"
export BORG_RSH="ssh -i /root/.ssh/id_${app}_ed25519 -oStrictHostKeyChecking=yes"
repository="$(sudo yunohost app setting $app repository)"