Skip to content
Snippets Groups Projects
Commit 1f43daea authored by Dixon Fred's avatar Dixon Fred
Browse files

Remove old reference to libreoffice.service

parent f5d65b89
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment