Avoid problem with matrix after installing apps

This commit is contained in:
Bob Mottram 2018-06-03 10:07:07 +01:00
parent 93fc9b2613
commit 0d8fe26da3
1 changed files with 9 additions and 0 deletions

View File

@ -1999,7 +1999,16 @@ function menu_top_level {
2) menu_backup_restore;;
3) menu_app_settings;;
4) if ! /usr/local/bin/addremove; then
if [ -d /etc/matrix ]; then
systemctl restart matrix
systemctl restart nginx
fi
any_key
else
if [ -d /etc/matrix ]; then
systemctl restart matrix
systemctl restart nginx
fi
fi
;;
5) logging_on_off;;