1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/certbot/files/certbot-renewal.service
Florian Pritz 28acf6dbab
certbot/nginx: Reload nginx via hook instead of directly in the certbot
service

Some machines use certbot, but don't have nginx so we shouldn't force
the reload here.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-05-14 23:31:55 +02:00

10 lines
280 B
SYSTEMD

[Unit]
Description=Let's Encrypt renewal
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot renew --rsa-key-size 4096 \
--pre-hook "/etc/letsencrypt/hook.sh pre" \
--post-hook "/etc/letsencrypt/hook.sh post" \
--renew-hook "/etc/letsencrypt/hook.sh renew"