diff options
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-x | ci/deploy.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh new file mode 100755 index 00000000..197bf63b --- /dev/null +++ b/ci/deploy.sh @@ -0,0 +1,9 @@ +#set -x +COMPASS_DIR=`cd ${BASH_SOURCE[0]%/*}/../;pwd` +export COMPASS_DIR + +apt-get install screen +screen -ls |grep deploy|awk -F. '{print $1}'|xargs kill -9 +screen -wipe +#screen -dmSL deploy bash $COMPASS_DIR/ci/launch.sh $* +$COMPASS_DIR/ci/launch.sh $* |