8 lines
404 B
Bash
8 lines
404 B
Bash
#!/bin/sh
|
|
|
|
sed -i "s|\(^\s\+proxyName=\).*|\1\"mifosx.${DOMAIN}\"|" /srv/mifosx/mifosx_conf/server.xml
|
|
sed -i "s|\(^\s\+proxyPort=\).*|\1\"${PORT}\"|" /srv/mifosx/mifosx_conf/server.xml
|
|
|
|
QUERY="UPDATE \`c_external_service_properties\` SET \`value\` = '${EMAIL}' WHERE \`external_service_id\` = 2 and \`name\` LIKE 'username'"
|
|
lxc-attach mifosx-mariadb -- mysql -u mysql -e "${QUERY}" mifostenant-default
|