10 |
BRANCH=stable |
BRANCH=stable |
11 |
|
|
12 |
|
|
13 |
|
################################### |
14 |
|
# Exit bash if a command fails |
15 |
|
set -e |
16 |
|
# also exit if a part of a pipe fails |
17 |
|
set -o pipefail |
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
function restartxo { |
function restartxo { |
23 |
killall -9 node |
killall -9 node |
24 |
rm -f /root/forever.log |
rm -f /root/forever.log |
192 |
exit |
exit |
193 |
fi |
fi |
194 |
|
|
195 |
|
echo Installing plugins |
196 |
|
npm install --global xo-server-transport-email |
197 |
|
npm install --global xo-server-transport-xmpp |
198 |
|
#npm install --save xo-server-usage-report |
199 |
|
|
200 |
|
|
201 |
#restartxo |
#restartxo |
202 |
|
|
203 |
|
|