Commit 1a8eed8c authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

We don't need venv for certbot and can install it directly to the system

parent c114395f
all: certbot-timer certbot-service all: certbot-timer certbot-service
install -v -Dm755 certbot-auto /usr/bin/certbot-auto pip3 install certbot
install -v -m755 -d /etc/letsencrypt install -v -m755 -d /etc/letsencrypt
USE_PYTHON_3=1 certbot-auto --install-only --no-bootstrap --no-self-upgrade
@echo "$$CERTBOT_TIMER" > /lib/systemd/system/certbot.timer @echo "$$CERTBOT_TIMER" > /lib/systemd/system/certbot.timer
@echo "$$CERTBOT_SERVICE" > /lib/systemd/system/certbot.service @echo "$$CERTBOT_SERVICE" > /lib/systemd/system/certbot.service
...@@ -28,6 +27,6 @@ Description=Renew certificates ...@@ -28,6 +27,6 @@ Description=Renew certificates
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/certbot-auto --no-self-upgrade renew ExecStart=/usr/bin/certbot renew
endef endef
export CERTBOT_SERVICE export CERTBOT_SERVICE
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment