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.
|
#!/usr/bin/env sh
|
|
set -eo pipefail
|
|
|
|
caddy file-server --root "$LINK_VALIDATOR_BASE_DIR" --listen "127.0.0.1:$LINK_VALIDATOR_SERVER_PORT" &> /dev/null &
|
|
exec /usr/local/bin/broken-link-checker "$@" http://localhost:"$LINK_VALIDATOR_SERVER_PORT"
|