initial commit
This commit is contained in:
14
usr/local/sbin/certbot-venv
Executable file
14
usr/local/sbin/certbot-venv
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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 "$@"
|
Reference in New Issue
Block a user