1234567891011121314151617181920212223242526272829303132333435 |
- #!/bin/bash
- set -eu -o pipefail
- chown -R cloudron:cloudron /app/data
- export NODE_ENV=production
- #if [[ -d /app/data/ems/ ]]; then
- # ln -s -f /app/data/ems /app/code/bookie/.ems
- #else
- # mkdir /app/data/ems/
- # ln -s -f /app/data/ems /app/code/bookie/.ems
- #fi
- cd /app/code/bookie
- ems server start
- #if [[ -f /app/data/boot.sh ]]; then
- #. /app/data/boot.sh
- #else
- /usr/local/bin/gosu cloudron:cloudron node /app/code/server.js
- #fi
|