certbot-angie/usr/local/sbin/certbot-venv

15 lines
224 B
Plaintext
Raw Normal View History

2024-06-12 03:22:03 +03:00
#!/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 "$@"