Guest User

Untitled

a guest
Nov 24th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. sudo kill $(ps aux |grep app.py |grep -v "grep" |awk '{print $2}')
  4. cd /opt/app/devops-challenge/app
  5. sudo bash -c 'echo export GERU_PASS=10bdfabd54f47a3f4e6b6b9e3f0061b3 > /etc/profile.d/geru_env.sh'
  6. sudo chmod 755 /etc/profile.d/geru_env.sh
  7. sudo python app.py &
Add Comment
Please, Sign In to add comment