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

4 lines
178 B
Bash
Raw Normal View History

#!/bin/sh
2019-10-05 16:34:10 +02:00
sed -i "s|\(^\s\+<smtp smtpServer=\"host\" smtpPort=\"25\" smtpSendFrom=\).*|\1\"${EMAIL}\" smtpUser=\"\" smtpPassword=\"\"/>|" /srv/seeddms/seeddms_conf/settings.xml