Revert "Revert "Change one command back to run""
This reverts commit 7367b6efcb
.
This commit is contained in:
parent
7367b6efcb
commit
68847271e7
2
fabfile.py
vendored
2
fabfile.py
vendored
|
@ -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():
|
||||||
run('sudo chown -R %s:%s %s/web' % (env.user, env.group, project_root))
|
run('sudo chown -R %s:%s %s/web' % (env.user, env.group, project_root))
|
||||||
|
|
Reference in a new issue