tell that xo-server is being shut down when running update

This commit is contained in:
ronivay
2018-07-28 16:59:22 +03:00
parent 6fb1a19f0c
commit 8c13fc1569

View File

@@ -354,7 +354,10 @@ function InstallXO {
function UpdateXO { function UpdateXO {
if [[ $(ps aux | grep xo-server | grep -v grep) ]]; then if [[ $(ps aux | grep xo-server | grep -v grep) ]]; then
echo
echo -n "Shutting down xo-server..."
/bin/systemctl stop xo-server || { echo "failed to stop service, exiting..." ; exit 1; } /bin/systemctl stop xo-server || { echo "failed to stop service, exiting..." ; exit 1; }
echo "done"
fi fi
InstallXO InstallXO