|
|
|
@ -4,7 +4,6 @@ function generatePassword() { |
|
|
|
|
openssl rand -hex 16 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
JICOFO_COMPONENT_SECRET=$(generatePassword) |
|
|
|
|
JICOFO_AUTH_PASSWORD=$(generatePassword) |
|
|
|
|
JVB_AUTH_PASSWORD=$(generatePassword) |
|
|
|
|
JIGASI_XMPP_PASSWORD=$(generatePassword) |
|
|
|
@ -12,7 +11,6 @@ JIBRI_RECORDER_PASSWORD=$(generatePassword) |
|
|
|
|
JIBRI_XMPP_PASSWORD=$(generatePassword) |
|
|
|
|
|
|
|
|
|
sed -i.bak \ |
|
|
|
|
-e "s#JICOFO_COMPONENT_SECRET=.*#JICOFO_COMPONENT_SECRET=${JICOFO_COMPONENT_SECRET}#g" \ |
|
|
|
|
-e "s#JICOFO_AUTH_PASSWORD=.*#JICOFO_AUTH_PASSWORD=${JICOFO_AUTH_PASSWORD}#g" \ |
|
|
|
|
-e "s#JVB_AUTH_PASSWORD=.*#JVB_AUTH_PASSWORD=${JVB_AUTH_PASSWORD}#g" \ |
|
|
|
|
-e "s#JIGASI_XMPP_PASSWORD=.*#JIGASI_XMPP_PASSWORD=${JIGASI_XMPP_PASSWORD}#g" \ |
|
|
|
|