start.sh 409 B

123456789101112
  1. #!/bin/bash
  2. sed -e "s/##MAIL_SMTP_SERVER/${MAIL_SMTP_SERVER}/" \
  3. -e "s/##MAIL_SMTP_PORT/${MAIL_SMTP_PORT}/" \
  4. -e "s/##MAIL_SMTP_USERNAME/${MAIL_SMTP_USERNAME}/" \
  5. -e "s/##MAIL_SMTP_PASSWORD/${MAIL_SMTP_PASSWORD}/" \
  6. -e "s/##MAIL_FROM/${MAIL_FROM}/" \
  7. /app/code/config/default.template.json > /run/default.json
  8. cat /run/default.json
  9. chown -R cloudron:cloudron /app/data
  10. node spacedeck.js