mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-09-17 22:12:04 +09:00
overwrite renewal hook, add notice about it, increase verbosity
This commit is contained in:
Regular → Executable
+2
@@ -1,11 +1,13 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
# Notice: This file will be overwritten when updated by lsio. Add your custom scripts into a new file in this folder.
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. /config/.donoteditthisfile.conf
|
||||
|
||||
if [[ ! "${ORIGVALIDATION}" = "dns" ]] && [[ ! "${ORIGVALIDATION}" = "duckdns" ]]; then
|
||||
if pgrep -f "nginx:" >/dev/null; then
|
||||
echo "**** Stopping Nginx in preparation of cert generation/renewal ****"
|
||||
s6-svc -d /run/service/svc-nginx
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user