You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
375 B
20 lines
375 B
#! /usr/bin/env sh
|
|
|
|
DIR="$( cd "$( dirname "${0}" )" >/dev/null 2>&1 && pwd )"
|
|
export NODE_PATH="${DIR}"
|
|
|
|
echo "NODE_ENV: ${NODE_ENV}"
|
|
echo "NODE_PATH: ${NODE_PATH}"
|
|
echo "LOG_LEVEL: ${LOG_LEVEL}"
|
|
|
|
echo "Running build version: $(cat build.info)"
|
|
|
|
case $1 in
|
|
run)
|
|
echo "Starting Baphomet..."
|
|
exec node index.js
|
|
;;
|
|
*)
|
|
echo "\"$1\" is an unrecognized command"
|
|
;;
|
|
esac
|