2018-09-20 14:03:23 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
HOST="${DOMAIN}"
|
|
|
|
[ "${PORT}" != "443" ] && HOST="${DOMAIN}:${PORT}"
|
2019-10-05 16:34:10 +02:00
|
|
|
sed -i "s|\(^\s\+\"url\": \).*|\1\"pandora.${HOST}\"|" /srv/pandora/pandora_conf/config.jsonc
|
2018-09-20 14:03:23 +02:00
|
|
|
|
2019-10-05 16:34:10 +02:00
|
|
|
sed -i "s|\(^GOOGLE_API_KEY = \).*|\1'${GMAPS_API_KEY}'|" /srv/pandora/pandora_conf/local_settings.py
|