10 lines
292 B
Bash
10 lines
292 B
Bash
#!/bin/sh
|
|
set -eu
|
|
[ "${RENEWED_LINEAGE:-}" = /etc/dpl-letsencrypt/live/c2.deeplink-subscribe.com ] || exit 0
|
|
nginx -t
|
|
for container in dpl-subscribe-gateway dpl-subscribe-admin; do
|
|
docker exec "$container" nginx -t
|
|
docker exec "$container" nginx -s reload
|
|
done
|
|
systemctl reload nginx
|