diff --git a/build/packages-template/bbb-config/build.sh b/build/packages-template/bbb-config/build.sh index a5d52d8cf4b9..6f4c44542a42 100755 --- a/build/packages-template/bbb-config/build.sh +++ b/build/packages-template/bbb-config/build.sh @@ -4,8 +4,8 @@ TARGET=`basename $(pwd)` # inject dependency to bigbluebutton.target for unit in freeswitch nginx redis-server; do - mkdir -p "staging/lib/systemd/system/${unit}.service.d" - cp bigbluebutton.conf "staging/lib/systemd/system/${unit}.service.d/" + mkdir -p "staging/usr/lib/systemd/system/${unit}.service.d" + cp bigbluebutton.conf "staging/usr/lib/systemd/system/${unit}.service.d/" done @@ -20,7 +20,7 @@ rm -rf staging # # Create build directories for markign by fpm DIRS="/etc/bigbluebutton \ - /lib/systemd/system \ + /usr/lib/systemd/system \ /var/bigbluebutton/blank \ /usr/share/bigbluebutton/blank \ /var/www/bigbluebutton-default/assets" @@ -55,7 +55,7 @@ mkdir -p staging/usr/share/bigbluebutton/nginx cp include_default.nginx staging/usr/share/bigbluebutton/ -cp bigbluebutton.target staging/lib/systemd/system/ +cp bigbluebutton.target staging/usr/lib/systemd/system/ . ./opts-$DISTRO.sh diff --git a/build/packages-template/bbb-html5/after-install.sh b/build/packages-template/bbb-html5/after-install.sh index 7d0e77128e96..2ddd6f0cbbc7 100644 --- a/build/packages-template/bbb-html5/after-install.sh +++ b/build/packages-template/bbb-html5/after-install.sh @@ -60,9 +60,9 @@ if [ -f /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml ]; then sed -i 's///g' /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml fi -chown root:root /lib/systemd/system -chown root:root /lib/systemd/system/bbb-html5.service -chown root:root /lib/systemd/system/disable-transparent-huge-pages.service +chown root:root /usr/lib/systemd/system +chown root:root /usr/lib/systemd/system/bbb-html5.service +chown root:root /usr/lib/systemd/system/disable-transparent-huge-pages.service # Ensure settings is readable chmod go+r /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml