diff --git a/scripts/_common.sh b/scripts/_common.sh index bf347f7..5759f30 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -25,7 +25,7 @@ create_ssh_config() { if [[ -n "$quota" ]]; then extra="--storage-quota $quota" fi - command="borg serve $extra --restrict-to-repository $repository" + command="$install_dir/venv/bin/borg serve $extra --restrict-to-repository $repository" ssh_opts="command=\"$command\",no-pty,no-agent-forwarding,no-port-forwarding,no-X11-forwarding,no-user-rc" mkdir -p "$ssh_dir"