let bbb-apps-akka read an override config file from /etc/bigbluebutton
This change introduces a config file `/etc/bigbluebutton/bbb-apps-akka.conf` which reads the default config from packages and allows operators to keep their own config file changes across package upgrades. This removes the workaround of copying the config file to /tmp in preinst and then extracvting API URI and secret and then in postinst inject it back to the config file in /usr/share If the config file in /usr does not have the "changeme" secret, then API URI and secret are extracted and injected to the generated file /etc, so packages would upgrade in a clean way. The postrm script removes the config file in /etc if the package is purged but not if it is just uninstalled. bbb-install and bbb-conf must reflect this change and replace the API secret and URL in /etc, not /usr/share
Showing
- akka-bbb-apps/build.sbt 1 addition, 1 deletionakka-bbb-apps/build.sbt
- akka-bbb-apps/src/debian/DEBIAN/postinst 0 additions, 8 deletionsakka-bbb-apps/src/debian/DEBIAN/postinst
- akka-bbb-apps/src/debian/DEBIAN/postrm 12 additions, 0 deletionsakka-bbb-apps/src/debian/DEBIAN/postrm
- akka-bbb-apps/src/debian/DEBIAN/preinst 33 additions, 5 deletionsakka-bbb-apps/src/debian/DEBIAN/preinst
Loading
Please register or sign in to comment