#!/bin/bash # TODO: Set config dynamically, so changes in compose file have affect set -e function create_common_site_config() { if [[ ! -f common_site_config.json ]]; then config=$( cat </home/frappe/frappe-bench/sites/common_site_config.json fi } create_common_site_config exec "$@"