mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
feat: use correct ssh user in check method script
Not required since the user name should be set in the ssh alias but we want to be consistent
This commit is contained in:
parent
5e51527826
commit
7d6135a945
1 changed files with 2 additions and 1 deletions
|
@ -4,10 +4,11 @@ set -e
|
||||||
|
|
||||||
RESTIC_SERVER=$(yunohost app setting restic server)
|
RESTIC_SERVER=$(yunohost app setting restic server)
|
||||||
RESTIC_SERVER_PORT=$(yunohost app setting restic port)
|
RESTIC_SERVER_PORT=$(yunohost app setting restic port)
|
||||||
|
RESTIC_SERVER_USER=$(yunohost app setting restic ssh_user)
|
||||||
RESTIC_PATH=$(yunohost app setting restic backup_path)
|
RESTIC_PATH=$(yunohost app setting restic backup_path)
|
||||||
|
|
||||||
RESTIC_PASSWORD="$(yunohost app setting restic passphrase)"
|
RESTIC_PASSWORD="$(yunohost app setting restic passphrase)"
|
||||||
RESTIC_REPOSITORY_BASE=sftp://$RESTIC_SERVER:$RESTIC_SERVER_PORT/$RESTIC_PATH/
|
RESTIC_REPOSITORY_BASE=sftp://$RESTIC_SERVER_USER@$RESTIC_SERVER:$RESTIC_SERVER_PORT/$RESTIC_PATH/
|
||||||
|
|
||||||
RESTIC_COMMAND=/usr/local/bin/restic
|
RESTIC_COMMAND=/usr/local/bin/restic
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue