build: ensure apply-lib.sh is updated; always create /etc/bigbluebutton/nginx
This commit is contained in:
parent
f44f23c391
commit
1b9d3f6801
@ -140,9 +140,10 @@ else
|
||||
sed -i 's/events {/worker_rlimit_nofile 10000;\n\nevents {/g' /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
mkdir -p /etc/bigbluebutton/nginx
|
||||
|
||||
# symlink default bbb nginx config from package if it does not exist
|
||||
if [ ! -e /etc/bigbluebutton/nginx/include_default.nginx ] ; then
|
||||
mkdir -p /etc/bigbluebutton/nginx
|
||||
ln -s /usr/share/bigbluebutton/include_default.nginx /etc/bigbluebutton/nginx/include_default.nginx
|
||||
fi
|
||||
|
||||
@ -165,5 +166,11 @@ removeOldOverride bbb-fsesl-akka
|
||||
removeOldOverride bbb-transcode-akka
|
||||
|
||||
|
||||
# re-create the symlink for apply-lib.sh to ensure the latest version is present
|
||||
if [ -f /usr/lib/bbb-conf/apply-lib.sh ] && [ -f /etc/bigbluebutton/bbb-conf/apply-lib.sh ]; then
|
||||
rm /etc/bigbluebutton/bbb-conf/apply-lib.sh
|
||||
ln -s /etc/bigbluebutton/bbb-conf/apply-lib.sh /usr/lib/bbb-conf/apply-lib.sh
|
||||
fi
|
||||
|
||||
# Load the overrides
|
||||
systemctl daemon-reload
|
||||
|
@ -43,7 +43,8 @@ cp bin/bbb-conf bin/bbb-record staging/usr/bin
|
||||
chmod +x staging/usr/bin/bbb-conf
|
||||
|
||||
mkdir -p staging/etc/bigbluebutton/bbb-conf
|
||||
cp bin/apply-lib.sh staging/etc/bigbluebutton/bbb-conf
|
||||
mkdir -p staging/usr/lib/bbb-conf
|
||||
cp bin/apply-lib.sh staging/usr/lib/bbb-conf
|
||||
|
||||
mkdir -p staging/etc/cron.daily
|
||||
cp cron.daily/* staging/etc/cron.daily
|
||||
|
Loading…
Reference in New Issue
Block a user