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.

21 lines
400 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 "Baphomet Starting..."
  11. node index.js
  12. echo "...Baphomet Shutdown"
  13. ;;
  14. *)
  15. echo "\"$1\" is an unrecognized command"
  16. ;;
  17. esac