7 lines
184 B
Bash
Executable File
7 lines
184 B
Bash
Executable File
#!/bin/sh
|
|
|
|
HOST="${1}"
|
|
[ "${2}" != "443" ] && HOST="${1}:${2}"
|
|
|
|
sed -i "s|^settings\.base\.public_url.*|settings.base.public_url = \"https://${HOST}\"|" /srv/sahana/conf/000_config.py
|