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

Updated restart of libreoffice for systemd

parent c0124957
No related branches found
No related tags found
No related merge requests found
......@@ -120,5 +120,5 @@ 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
service libreoffice restart
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