Script de implantação para aplicativo meteoro

#!/bin/bash

/opt/sertal/userman-start stop

cd
/opt/sertal/user-management/sertalUM
rm
-Rf /opt/sertal/node-userman
rm
-f /opt/sertal/userman.tgz

meteor bundle
--release 0.6.4.1 /opt/sertal/userman.tgz
cd
/opt/sertal
tar
-xvzf userman.tgz
mv bundle node
-userman

#update this to programs/server with 0.6.5
cd
/opt/sertal/node-userman/server
npm install fibers


/opt/sertal/userman-start start