start.sh 259 B

12345678910111213
  1. #!/bin/sh
  2. cd "$(dirname "$0")"
  3. if ! [ -d "run" ]; then
  4. mkdir -p run/web
  5. mkdir -p run/scripts
  6. cp -fR res/chat/* run/web
  7. cp -fR res/scripts/* run/scripts
  8. cp -fR res/eliasdb.config.json run
  9. cp -fR res/access.db run
  10. fi
  11. cd run
  12. ../../../eliasdb server