#!/bin/bash
git --git-dir=/var/www/domain/.git --work-tree=/var/www/domain pull
uwsgi --reload /tmp/domain
service nginx restart
#!/bin/bash
git --git-dir=/var/www/domain/.git --work-tree=/var/www/domain pull
uwsgi --reload /tmp/domain
service nginx restart