Change one command back to run

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

2
fabfile.py vendored
View file

@ -25,7 +25,7 @@ def deploy():
default_opts='-vzcrSLh', default_opts='-vzcrSLh',
delete=True delete=True
) )
sudo('service nginx configtest && service nginx reload') run('sudo service nginx configtest && sudo service nginx reload')
def file_permissions(): def file_permissions():
sudo('chown -R %s:%s %s/web' % (env.user, env.group, project_root)) sudo('chown -R %s:%s %s/web' % (env.user, env.group, project_root))