15 lines
224 B
Bash
Executable File
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 "$@"
|