7 lines
169 B
Bash
Executable File
7 lines
169 B
Bash
Executable File
#!/bin/sh
|
|
|
|
HOST="${1}"
|
|
[ "${2}" != "443" ] && HOST="${1}:${2}"
|
|
|
|
sed -i "s|^server\.url.*|server.url=https://${HOST}|" /srv/motech/conf/config/motech-settings.properties
|