Files
shopify-ai-backup/scripts/healthcheck.sh
cto-new[bot] ee4e630b45 fix(scripts): add fallback logic for OpenSMTPD binary detection
The scripts were hardcoded to look for OpenSMTPD at a custom workspace
path, but the Dockerfile installs it via apt to /usr/sbin/smtpd. This
change adds fallback logic to check multiple locations:

1. Custom workspace path (for backward compatibility)
2. System path /usr/sbin/smtpd
3. Anywhere in PATH

Also adds graceful handling when OpenSMTPD is not installed, logging
an informative message instead of failing with "No such file or directory".
2026-02-09 12:51:31 +00:00

7.2 KiB