diff --git a/debian/postinst b/debian/postinst index a7452c61f7d65ee106e010c765717cf7c93a8f64..e86e66c0121a09f0d69ac25e0f968d72b3a49d53 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,7 +1,7 @@ #!/bin/bash -ve # get api secret -BBB_API_URL=https://$(hostname -f)/bigbluebutton/ +BBB_API_URL=$(bbb-conf --secret | grep URL | head -n1 | awk '{print $2}') BBB_API_SECRET=$(bbb-conf --secret | grep Secret | head -n1 | awk '{print $2}') ENV_FILE=/etc/cleanup-meeting-data/.env