From 1f43daeab0e1102189f8a7c374d635de3b92621a Mon Sep 17 00:00:00 2001
From: Fred Dixon <ffdixon@gmail.com>
Date: Sat, 28 Oct 2017 09:48:20 -0400
Subject: [PATCH] Remove old reference to libreoffice.service

---
 bigbluebutton-config/cron.daily/bigbluebutton | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/bigbluebutton-config/cron.daily/bigbluebutton b/bigbluebutton-config/cron.daily/bigbluebutton
index e3be361bb6..9349a42b50 100755
--- a/bigbluebutton-config/cron.daily/bigbluebutton
+++ b/bigbluebutton-config/cron.daily/bigbluebutton
@@ -115,10 +115,3 @@ remove_raw_of_published_recordings(){
 #
 find /tmp -name "*.afm" -mtime +$history -delete
 find /tmp -name "*.pfb" -mtime +$history -delete
-
-#
-# If there are no users currently logged in, restart libreoffice to clear its memory usage
-#
-if [[ $(netstat -ant | egrep ":1935\ " | egrep -v ":::|0.0.0.0"  | wc | awk '{print $1}') == 0 ]]; then
-  systemctl restart libreoffice.service
-fi
-- 
GitLab