1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#!/bin/bash set -e # Retrieve the configuration values juju-log "Retrieving configuration values" TITLE=`config-get title` TIMEZONE=`config-get timezone` CACHE=`config-get cache` CACHE_LIFETIME=`config-get cache-lifetime` juju-log "Updating configuration file" update_thinkup_config <<EOD app_title="$TITLE" timezone="$TIMEZONE" cache_pages=$CACHE cache_lifetime=$CACHE_LIFETIME EOD |