ws_bucket/jenkins/deploy.sh
2019-08-09 20:24:58 -04:00

10 lines
237 B
Bash

#!/bin/bash
export WSBROOT="ws_bucket"
screen -S ws_bucket -X quit
echo "starting ws_bucket"
screen -S ws_bucket -d -m bash -c "cd ${WSBROOT} && chmod +x ws_bucket && source ~/.bashrc && ./ws_bucket 2> stderr.txt"
sleep 1
screen -list