mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Make certbot package executable
This commit is contained in:
parent
f659124edd
commit
e64ad1446e
2 changed files with 6 additions and 2 deletions
4
certbot/certbot/__main__.py
Normal file
4
certbot/certbot/__main__.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
from certbot.main import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
@ -20,13 +20,13 @@ adopt-info: certbot
|
|||
|
||||
apps:
|
||||
certbot:
|
||||
command: bin/python3 $SNAP/bin/certbot
|
||||
command: bin/python3 -m 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"
|
||||
CERTBOT_SNAPPED: "True"
|
||||
renew:
|
||||
command: bin/python3 $SNAP/bin/certbot -q renew
|
||||
command: bin/python3 -m 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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue