--- misc/xoa-installer/xoa-installer.sh 2016/12/19 13:46:18 3175 +++ misc/xoa-installer/xoa-installer.sh 2016/12/20 14:28:51 3176 @@ -10,6 +10,15 @@ BRANCH=stable +################################### +# Exit bash if a command fails +set -e +# also exit if a part of a pipe fails +set -o pipefail + + + + function restartxo { killall -9 node rm -f /root/forever.log @@ -183,6 +192,12 @@ exit fi +echo Installing plugins +npm install --global xo-server-transport-email +npm install --global xo-server-transport-xmpp +#npm install --save xo-server-usage-report + + #restartxo