2018-09-20 14:03:23 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-09-21 15:05:48 +02:00
|
|
|
sed -i "s|\(^\s\+proxyName=\).*|\1\"mifosx.${DOMAIN}\"|" /srv/mifosx/conf/server.xml
|
2018-09-20 14:03:23 +02:00
|
|
|
sed -i "s|\(^\s\+proxyPort=\).*|\1\"${PORT}\"|" /srv/mifosx/conf/server.xml
|
|
|
|
|
2018-09-20 15:45:00 +02:00
|
|
|
QUERY="UPDATE \`c_external_service_properties\` SET \`value\` = '${EMAIL}' WHERE \`external_service_id\` = 2 and \`name\` LIKE 'username'"
|
2018-09-20 14:03:23 +02:00
|
|
|
lxc-attach mariadb -- mysql -e "${QUERY}" mifostenant-default
|