use certbot file hooks instead of command line hooks

This commit is contained in:
Feilner authored and Eric Nemchik committed 2022-10-05 19:41:49 +00:00
1 parent 29a1c29be3
commit 51dc4ce7b2
8 files changed
+80 -69

No files matched your search

@@ -0,0 +1,9 @@
#!/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