Spotter-VM/lxc-apps/seeddms/install/update-conf.sh

8 lines
245 B
Bash
Raw Normal View History

#!/bin/sh
# Volumes
SEEDDMS_CONF="${VOLUMES_DIR}/seeddms/seeddms_conf"
# Replacements
sed -i "s|\(^\s\+<smtp smtpServer=\"host\" smtpPort=\"25\" smtpSendFrom=\).*|\1\"${EMAIL}\" smtpUser=\"\" smtpPassword=\"\"/>|" ${SEEDDMS_CONF}/settings.xml