jicofo,jigase: add ability to extend the config file
This commit is contained in:
@@ -18,6 +18,9 @@ if [[ "$JICOFO_AUTH_PASSWORD" == "$OLD_JICOFO_AUTH_PASSWORD" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
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
|
||||||
|
cat /config/custom-sip-communicator.properties >> /config/sip-communicator.properties
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ! -f /config/logging.properties ]]; then
|
if [[ ! -f /config/logging.properties ]]; then
|
||||||
cp /defaults/logging.properties /config
|
cp /defaults/logging.properties /config
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ if [[ "$JIGASI_XMPP_PASSWORD" == "$OLD_JIGASI_XMPP_PASSWORD" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
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
|
||||||
|
cat /config/custom-sip-communicator.properties >> /config/sip-communicator.properties
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ! -f /config/logging.properties ]]; then
|
if [[ ! -f /config/logging.properties ]]; then
|
||||||
cp /defaults/logging.properties /config
|
cp /defaults/logging.properties /config
|
||||||
|
|||||||
Reference in New Issue
Block a user