6 lines
194 B
Bash
6 lines
194 B
Bash
#!/bin/sh
|
|
|
|
HOST="${DOMAIN}"
|
|
[ "${PORT}" != "443" ] && HOST="${DOMAIN}:${PORT}"
|
|
sed -i "s|\(^server\.url=\).*|\1https://motech.${HOST}|" /srv/motech/motech_conf/config/motech-settings.properties
|