Spotter-VM/lxc-apps/seeddms/install/update-conf.sh
2019-10-05 15:27:14 +02:00

4 lines
170 B
Bash

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