1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/nginx/templates/letsencrypt.hook.d.j2
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

6 lines
63 B
Django/Jinja

#!/bin/sh
test "$1" = renew || exit 0
systemctl reload nginx