neb/tools/repo/check.d/20-no-commented-certbot-domains.sh

8 lines
180 B
Bash
Raw Permalink Normal View History

#!/bin/sh
for dcf in servers/*/docker-compose.d/docker-compose.yml; do
if grep -e "#.*CERTBOT_DOMAINS" $dcf; then
echo "$dcf has commented out domains!"
exit 1
fi
done