Spotter-VM/extra/graveyard/sigmah/install/update-conf.sh

10 lines
333 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# Volumes
SIGMAH_CONF="${VOLUMES_DIR}/sigmah/sigmah_conf"
# Replacements
sed -i "s|\(^mail\.from\.address=\).*|\1${EMAIL}|" ${SIGMAH_CONF}/sigmah.properties
sed -i "s|\(^mail\.support\.to=\).*|\1${EMAIL}|" ${SIGMAH_CONF}/sigmah.properties
sed -i "s|\(^maps\.key=\).*|\1${GMAPS_API_KEY}|" ${SIGMAH_CONF}/sigmah.properties