index : sparkle-git.git

ascending towards madness

#!/usr/bin/env bash

# Set defaults
if [ -z "${RGIT_DB_STORE+x}" ]; then
    export RGIT_DB_STORE="/tmp/rgit-cache.db"
fi

if [ -z "${RGIT_BIND_ADDRESS+x}" ]; then
    export RGIT_BIND_ADDRESS="[::]:8000"
fi

if [ -z "${RGIT_SCAN_PATH+x}" ]; then
    export RGIT_SCAN_PATH="/git"
fi

if [ -z "${RGIT_SCAN_PATH+x}" ]; then
    export RGIT_SCAN_PATH="5m"
fi

./rgit