This repository has been archived on 2023-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
link-validator/overlay/bin/link-validator

6 lines
279 B
Bash
Executable File

#!/usr/bin/env sh
set -eo pipefail
/usr/local/bin/http-server "$LINK_VALIDATOR_BASE_DIR" -p "$LINK_VALIDATOR_SERVER_PORT" -a "$LINK_VALIDATOR_SERVER_ADDRESS" -s &
exec /usr/local/bin/broken-link-checker "$@" http://"$LINK_VALIDATOR_SERVER_ADDRESS":"$LINK_VALIDATOR_SERVER_PORT"