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
233 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 127.0.0.1 -s &
exec /usr/local/bin/broken-link-checker "$@" http://localhost:"$LINK_VALIDATOR_SERVER_PORT"