mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 16:50:14 -04:00
try a couple things to use the python from the venv bin
This commit is contained in:
parent
f6f68e42b0
commit
fe5a50f0b6
1 changed files with 4 additions and 2 deletions
|
|
@ -20,13 +20,13 @@ adopt-info: certbot
|
|||
|
||||
apps:
|
||||
certbot:
|
||||
command: certbot
|
||||
command: bin/python3 bin/certbot
|
||||
environment:
|
||||
PATH: "$SNAP/bin:$SNAP/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
|
||||
AUGEAS_LENS_LIB: "$SNAP/usr/share/augeas/lenses/dist"
|
||||
LD_LIBRARY_PATH: "$SNAP/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH"
|
||||
renew:
|
||||
command: certbot -q renew
|
||||
command: bin/python3 bin/certbot -q renew
|
||||
daemon: oneshot
|
||||
environment:
|
||||
PATH: "$SNAP/bin:$SNAP/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
|
||||
|
|
@ -133,4 +133,6 @@ parts:
|
|||
- wheel
|
||||
stage:
|
||||
- -**/certbot/
|
||||
stage-packages:
|
||||
- python3-venv
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue