Files
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