docker-swag/root/defaults/etc/letsencrypt/renewal-hooks/pre/10-nginx

10 lines
227 B
Plaintext
Raw Normal View History

#!/usr/bin/with-contenv bash
. /config/.donoteditthisfile.conf
if [ ! "$ORIGVALIDATION" = "dns" ] && [ ! "$ORIGVALIDATION" = "duckdns" ]; then
if ps aux | grep [n]ginx: >/dev/null; then
s6-svc -d /run/service/nginx
fi
fi