10-config 402 B

12345678910111213141516
  1. #!/usr/bin/with-contenv bash
  2. if [[ -z $JVB_AUTH_PASSWORD ]]; then
  3. echo 'FATAL ERROR: JVB auth password must be set'
  4. exit 1
  5. fi
  6. if [[ ! -f /config/sip-communicator.properties ]]; then
  7. tpl /defaults/sip-communicator.properties > /config/sip-communicator.properties
  8. fi
  9. if [[ ! -f /config/logging.properties ]]; then
  10. cp /defaults/logging.properties /config
  11. fi
  12. chown -R jvb:jitsi /config