Revert "Use sudo rather than run"

This reverts commit 2b92bee36c.
This commit is contained in:
Oliver Davies 2017-04-18 19:01:53 +01:00
parent 169ec20dfa
commit b75750578a

4
fabfile.py vendored
View file

@ -28,5 +28,5 @@ def deploy():
run('sudo service nginx configtest && sudo service nginx reload')
def file_permissions():
sudo('chown -R %s:%s %s/web' % (env.user, env.group, project_root))
sudo('chmod -R 750 %s/web' % project_root)
run('sudo chown -R %s:%s %s/web' % (env.user, env.group, project_root))
run('sudo chmod -R 750 %s/web' % project_root)