bigbluebutton-Github/bigbluebutton-apps/vm-build-debug.sh
Jeremy Thomerson d2c54b90bd enhance vm-build-debug.sh to exit when there is a build failure
rather than continuing to start red5 with a broken build
2011-03-01 14:49:30 -06:00

16 lines
233 B
Bash
Executable File

pushd .
#stop current
sudo /etc/init.d/red5 stop
# build
cd ~/dev/source/bigbluebutton/bigbluebutton-apps
gradle resolveDeps war deploy || exit
# run
cd /usr/share/red5/
sudo -u red5 ./red5.sh || exit
#return to working dir
popd