Skip to content

Commit

Permalink
jvb: regenerate config on every boot
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Oct 16, 2020
1 parent 3ef2221 commit 0c95794
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jvb/rootfs/etc/cont-init.d/10-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ if [[ "$JVB_AUTH_PASSWORD" == "$OLD_JVB_AUTH_PASSWORD" ]]; then
exit 1
fi

if [[ ! -f /config/sip-communicator.properties ]]; then
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
Expand Down

0 comments on commit 0c95794

Please sign in to comment.