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

4 lines
170 B
Bash
Executable File

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