start stop in web

This commit is contained in:
mad committed 2018-08-12 20:21:33 +02:00
1 parent b6d400555e
commit e418137c2e
2 files changed
+39 -2

No files matched your search

+4 -1
View File
@@ -176,7 +176,10 @@ if [ $# -gt 0 ]; then
vmstop $2
done
if [[ $VMFOUND == "no" ]]; then echo "no VM with that name found!"; exit 1; fi)
fi
elif [ $1 == "checkvm" ]; then
if [ -z $2 ]; then echo "checkvm needs a vmname!"; exit 1; fi
if [ -e $RUNDIRECTORY/$2.pid ]; then echo $2 running; else echo $2 stopped; fi
fi
else
checkdb
fi