Revision 96181c8b
b/snf-deploy/fabfile.py | ||
---|---|---|
775 | 775 |
custom = customize_settings_from_tmpl(tmpl, replace) |
776 | 776 |
put(custom, tmpl, mode=0644) |
777 | 777 |
|
778 |
#TOFIX: this is needed in order webclient not to serve /ui url |
|
779 |
# but only /pithos/ui |
|
780 |
if env.env.pithos.hostname == env.env.cyclades.hostname: |
|
781 |
tmpl = "/usr/share/pyshared/pithos_webclient/synnefo_settings.py" |
|
782 |
replace = {} |
|
783 |
custom = customize_settings_from_tmpl(tmpl, replace) |
|
784 |
put(custom, tmpl, mode=0644) |
|
785 |
|
|
786 | 778 |
try_run("/etc/init.d/gunicorn restart") |
787 | 779 |
#TOFIX: the previous command lets pithos-backend create blocks and maps |
788 | 780 |
# with root owner |
Also available in: Unified diff