Check if matrix is installed

This commit is contained in:
Bob Mottram 2017-01-03 14:01:52 +00:00
parent c051ab2524
commit 3b96ffd37f
1 changed files with 6 additions and 0 deletions

View File

@ -314,6 +314,12 @@ function reconfigure_matrix {
}
function upgrade_matrix {
if [ ! -d /etc/sydent ]; then
return
fi
if [ ! -d /etc/matrix ]; then
return
fi
systemctl stop turn
systemctl stop matrix
systemctl stop sydent