shutdown xo-server even when install is possibly mistakenly ran. add gitignore

This commit is contained in:
ronivay
2017-08-29 15:17:08 +03:00
parent 412e809a20
commit 4b007b1864
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
xo-install.log

View File

@@ -343,7 +343,7 @@ read -p ": " option
read -p "[y/N]: " answer
case $answer in
y)
:
/bin/systemctl stop xo-server || { echo "failed to stop service, exiting..." ; exit 1; }
;;
n)
exit 0