123456789101112131415 |
- #!/usr/bin/with-contenv bash
- if [[ ! -f /config/sip-communicator.properties ]]; then
- cp /defaults/sip-communicator.properties /config
- sed -i \
- -e "s,\${XMPP_DOMAIN},$XMPP_DOMAIN,g" \
- -e "s,\${JICOFO_AUTH_USER},$JICOFO_AUTH_USER,g" \
- -e "s#\${JVB_STUN_SERVERS}#$JVB_STUN_SERVERS#g" \
- /config/sip-communicator.properties
- fi
- if [[ ! -f /config/logging.properties ]]; then
- cp /defaults/logging.properties /config
- fi
|