mirror of https://github.com/samply/bridgehead.git
10 lines
413 B
Bash
10 lines
413 B
Bash
#!/bin/bash
|
|
|
|
function nngmSetup() {
|
|
if [ -n "$NNGM_CTS_APIKEY" ]; then
|
|
log INFO "nNGM setup detected -- will start nNGM Connector."
|
|
OVERRIDE+="-f ./$PROJECT/nngm-compose.yml"
|
|
fi
|
|
CONNECTOR_POSTGRES_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
|
|
}
|