2018-03-14 10:23:13 +01:00
|
|
|
#!/usr/bin/with-contenv bash
|
|
|
|
|
2020-04-06 12:22:11 +02:00
|
|
|
if [[ -z $JVB_AUTH_PASSWORD ]]; then
|
|
|
|
echo 'FATAL ERROR: JVB auth password must be set'
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2018-03-14 10:23:13 +01:00
|
|
|
if [[ ! -f /config/sip-communicator.properties ]]; then
|
2018-08-09 21:29:58 +02:00
|
|
|
tpl /defaults/sip-communicator.properties > /config/sip-communicator.properties
|
2018-03-14 10:23:13 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [[ ! -f /config/logging.properties ]]; then
|
|
|
|
cp /defaults/logging.properties /config
|
|
|
|
fi
|
|
|
|
|
2019-06-17 18:42:47 +02:00
|
|
|
chown -R jvb:jitsi /config
|