2023-05-19 23:38:55 +08:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
configure|upgrade|1|2)
|
|
|
|
TARGET=/usr/local/bigbluebutton/bbb-transcription-controller/config/default.yml
|
|
|
|
cp /usr/local/bigbluebutton/bbb-transcription-controller/config/default.example.yml $TARGET
|
|
|
|
|
2023-11-30 23:10:36 +08:00
|
|
|
touch /var/log/bigbluebutton/gladia-proxy.log
|
|
|
|
chown bigbluebutton:bigbluebutton /var/log/bigbluebutton/gladia-proxy.log
|
|
|
|
|
2023-05-19 23:38:55 +08:00
|
|
|
startService bbb-transcription-controller|| echo "bbb-transcription-controller could not be registered or started"
|
|
|
|
;;
|
|
|
|
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|