diff --git a/bigbluebutton-config/bin/bbb-conf b/bigbluebutton-config/bin/bbb-conf index 85cf5cab0efe3347d3ad3c336e1eb917f0c32322..37f9331359d9c37b060bbaeb06df1602c527f483 100755 --- a/bigbluebutton-config/bin/bbb-conf +++ b/bigbluebutton-config/bin/bbb-conf @@ -57,6 +57,7 @@ # 2016-10-17 GTR Added redis to checked server components & added ownership check for video and freeswitch recording directories # 2017-04-08 FFD Cleanup for 1.1-beta # 2018-11-22 MNE Dynamically detect if sudo is needed +# 2018-12-09 GTR More logs cleanup #set -x #set -e @@ -1982,8 +1983,20 @@ if [ $CLEAN ]; then # rm -f /var/log/bigbluebutton/bbb-rap-worker.log* rm -f /var/log/bigbluebutton/archive.log* - if [ -d /var/log/bigbluebutton/slides ]; then - rm -f /var/log/bigbluebutton/slides/* + if [ -d /var/log/bigbluebutton/html5 ]; then + rm -f /var/log/bigbluebutton/html5/* + fi + + if [ -d /var/log/bigbluebutton/podcast ]; then + rm -f /var/log/bigbluebutton/podcast/* + fi + + if [ -d /var/log/bigbluebutton/presentation ]; then + rm -f /var/log/bigbluebutton/presentation/* + fi + + if [ -d /var/log/bigbluebutton/screenshare ]; then + rm -f /var/log/bigbluebutton/screenshare/* fi @@ -2018,6 +2031,18 @@ if [ $CLEAN ]; then if [ -d /var/log/bbb-webrtc-sfu ]; then rm -f /var/log/bbb-webrtc-sfu/* fi + + if [ -d /var/log/redis ]; then + rm -f /var/log/redis/* + fi + + if [ -d /var/log/mongodb ]; then + rm -f /var/log/mongodb/* + fi + + if [ -d /var/log/kurento-media-server ]; then + rm -f /var/log/kurento-media-server/* + fi start_bigbluebutton check_state