Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- sudo kill $(ps aux |grep app.py |grep -v "grep" |awk '{print $2}')
- cd /opt/app/devops-challenge/app
- sudo bash -c 'echo export GERU_PASS=10bdfabd54f47a3f4e6b6b9e3f0061b3 > /etc/profile.d/geru_env.sh'
- sudo chmod 755 /etc/profile.d/geru_env.sh
- sudo python app.py &
Add Comment
Please, Sign In to add comment