mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-10-01 01:35:49 -04:00
12 lines
300 B
Plaintext
12 lines
300 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
# shellcheck shell=bash
|
|
|
|
# shellcheck source=/dev/null
|
|
. /config/.donoteditthisfile.conf
|
|
|
|
if [[ ! "${ORIGVALIDATION}" = "dns" ]] && [[ ! "${ORIGVALIDATION}" = "duckdns" ]]; then
|
|
if pgrep -f "nginx:" >/dev/null; then
|
|
s6-svc -d /run/service/svc-nginx
|
|
fi
|
|
fi
|