certbot-angie/usr/local/sbin/certbot-venv
2024-06-12 03:22:03 +03:00

15 lines
224 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# (c) 2024, Konstantin Demin
set -ef
v=/usr/local/certbot
[ -d "$v" ] || "${PYTHON3:-python3}" -m venv "$v"
export VIRTUAL_ENV="$v"
export PATH="$v/bin:${PATH}"
exec "$@"