Spotter-VM/lxc-apps/seeddms/install/update-conf.sh
2019-10-05 16:34:10 +02:00

4 lines
178 B
Bash

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