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
Robert Kaussow d163a866fe
All checks were successful
continuous-integration/drone/push Build is passing
fix: replace outdated node web server by caddy
2020-12-30 18:46:58 +01:00

6 lines
244 B
Bash
Executable File

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