Baphomet is the dedicated bot for nulloctet matrix
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

  1. #! /usr/bin/env sh
  2. DIR="$( cd "$( dirname "${0}" )" >/dev/null 2>&1 && pwd )"
  3. export NODE_PATH="${DIR}"
  4. echo "NODE_ENV: ${NODE_ENV}"
  5. echo "NODE_PATH: ${NODE_PATH}"
  6. echo "LOG_LEVEL: ${LOG_LEVEL}"
  7. echo "Running build version: $(cat build.info)"
  8. case $1 in
  9. run)
  10. echo "Starting Baphomet..."
  11. exec node index.js
  12. ;;
  13. *)
  14. echo "\"$1\" is an unrecognized command"
  15. ;;
  16. esac