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

8 lines
No EOL
180 B
Bash
Executable file

#!/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