#!/bin/sh
##
##  strider.sh -- StriderCD wrapper
##

. @l_prefix@/etc/strider/strider.cf

export SERVER_NAME
export HOST
export PORT
export CONCURRENT_JOBS
export STRIDER_CLONE_DEST
export DB_URI
export SMTP_HOST
export SMTP_PORT
export SMTP_USER
export SMTP_PASS
export SMTP_FROM
export BODY_PARSER_LIMIT

NODE_PATH=@l_prefix@/lib/strider
export NODE_PATH

exec @l_prefix@/bin/node \
    @l_prefix@/lib/strider/strider/bin/strider \
    ${1+"$@"}

