Merge pull request #18548 from bigbluebutton/antobinary-patch-2

build: /.dockerenv tweak for bbb-graphql-server
This commit is contained in:
Anton Georgiev 2023-08-14 15:47:40 -04:00 committed by GitHub
commit 639a590730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,11 @@ case "$1" in
sudo -u postgres psql -c "create database hasura_app"
echo "Postgresql configured"
if [ ! -f /.dockerenv ]; then
systemctl enable bbb-graphql-server.service
systemctl daemon-reload
startService bbb-graphql-server || echo "bbb-graphql-server service could not be registered or started"
fi
# Apply BBB metadata in Hasura
cd /usr/share/bbb-graphql-server