blob: e7a49b4fa04fed5aa727d054d7bd0cc0ca17f045 [file] [log] [blame]
#!/bin/bash
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Run Google Storage archive server from inside virtual environment.
set -eu
readonly bindir=$(dirname -- "$(readlink -e -- "$0")")
readonly homedir=$(cd "$bindir"/../gs_cache; pwd)
export PYTHONPATH=$homedir
exec vpython -vpython-spec $homedir/.vpython -m nginx_access_log_metrics "$@"