task_tracker/jenkins/deploy.sh
2019-02-24 18:22:19 -05:00

12 lines
223 B
Bash
Executable File

#!/bin/bash
export TTROOT="task_tracker"
chmod 755 -R "${TTROOT}/webroot"
screen -S tt_api -X quit
echo "starting client"
screen -S tt_api -d -m bash -c "cd ${TTROOT} && chmod +x tt_api && ./tt_api"
sleep 1
screen -list