lila/bin/lilarc
2012-12-20 16:16:42 +01:00

17 lines
323 B
Bash

#!/bin/sh
PROD_URL="http://en.lichess.org"
JVM_OPTIONS="-Dconfig.file=conf/local.conf -Dhttp.port=9000"
lilalog () {
echo -e "\x1b[7m[lila]\x1b[0m $1"
}
curl_prod () {
lilalog "Test $PROD_URL"
curl -sL -w "%{http_code}" -o /dev/null "$PROD_URL"
}
# load local config
[ -f bin/lilarc.local ] && . bin/lilarc.local