|
|
@ -1,7 +1,5 @@ |
|
|
|
#!/usr/bin/with-contenv bash |
|
|
|
#!/usr/bin/with-contenv bash |
|
|
|
|
|
|
|
|
|
|
|
export SENTRY_RELEASE="${SENTRY_RELEASE:-$(apt-cache policy jigasi | sed -n '/Installed/p' | sed -e 's/[^:]*: //')}" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -z $JIGASI_XMPP_PASSWORD ]]; then |
|
|
|
if [[ -z $JIGASI_XMPP_PASSWORD ]]; then |
|
|
|
echo 'FATAL ERROR: Jigasi auth password must be set' |
|
|
|
echo 'FATAL ERROR: Jigasi auth password must be set' |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
@ -13,13 +11,15 @@ if [[ "$JIGASI_XMPP_PASSWORD" == "$OLD_JIGASI_XMPP_PASSWORD" ]]; then |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
tpl /defaults/logging.properties > /config/logging.properties |
|
|
|
|
|
|
|
tpl /defaults/sip-communicator.properties > /config/sip-communicator.properties |
|
|
|
tpl /defaults/sip-communicator.properties > /config/sip-communicator.properties |
|
|
|
|
|
|
|
|
|
|
|
if [[ -f /config/custom-sip-communicator.properties ]]; then |
|
|
|
if [[ -f /config/custom-sip-communicator.properties ]]; then |
|
|
|
cat /config/custom-sip-communicator.properties >> /config/sip-communicator.properties |
|
|
|
cat /config/custom-sip-communicator.properties >> /config/sip-communicator.properties |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ ! -f /config/logging.properties ]]; then |
|
|
|
|
|
|
|
cp /defaults/logging.properties /config |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
mkdir -pm777 /tmp/transcripts |
|
|
|
mkdir -pm777 /tmp/transcripts |
|
|
|
chown jigasi:jitsi /tmp/transcripts |
|
|
|
chown jigasi:jitsi /tmp/transcripts |
|
|
|
|
|
|
|
|
|
|
|