Fix command

This commit is contained in:
Adrien Ferrand 2020-09-22 01:13:35 +02:00
parent 7a28234067
commit 9bec9e2c26

View file

@ -20,13 +20,13 @@ adopt-info: certbot
apps:
certbot:
command: bin/certbot
command: $SNAP/bin/python3 $SNAP/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"
CERTBOT_SNAPPED: "True"
renew:
command: bin/certbot -q renew
command: $SNAP/bin/python3 $SNAP/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"