replace nginx service location in renewal hooks

This commit is contained in:
Eric Nemchik committed 2023-01-20 23:32:43 -06:00
1 parent 1771853341
commit cf21b8c68e
3 files changed
+6 -3

No files matched your search

@@ -6,10 +6,10 @@
if [[ ! "${ORIGVALIDATION}" = "dns" ]] && [[ ! "${ORIGVALIDATION}" = "duckdns" ]]; then
if pgrep -f "s6-supervise nginx" >/dev/null; then
s6-svc -u /run/service/nginx
s6-svc -u /run/service/svc-nginx
fi
else
if pgrep -f "nginx:" >/dev/null; then
s6-svc -h /run/service/nginx
s6-svc -h /run/service/svc-nginx
fi
fi