mirror of
https://github.com/certbot/certbot.git
synced 2026-06-13 18:50:20 -04:00
certbot needs to be in bin
This commit is contained in:
parent
b186afab0a
commit
a49f3ce0e1
1 changed files with 6 additions and 7 deletions
|
|
@ -20,13 +20,13 @@ adopt-info: certbot
|
|||
|
||||
apps:
|
||||
certbot:
|
||||
command: source $SNAP/bin/activate && certbot
|
||||
command: 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: source $SNAP/bin/activate && certbot -q renew
|
||||
command: 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"
|
||||
|
|
@ -123,13 +123,12 @@ parts:
|
|||
source-subdir: certbot-nginx
|
||||
constraints: [$SNAPCRAFT_PART_SRC/constraints.txt]
|
||||
# This is the last step, compile pycache now as there should be no conflicts.
|
||||
override-prime: |
|
||||
snapcraftctl prime
|
||||
./bin/python3 -m compileall -q .
|
||||
# override-prime: |
|
||||
# snapcraftctl prime
|
||||
# ./bin/python3 -m compileall -q .
|
||||
# After certbot-apache to not rebuild duplicates (essentially sharing what was already staged,
|
||||
# like zope)
|
||||
after: [certbot-apache]
|
||||
python-packages:
|
||||
- wheel
|
||||
stage:
|
||||
- -**/certbot
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue