mirror of https://github.com/zulip/zulip.git
sharding: Consistent mode for nginx sharding file.
This disagreed between `tornado_sharding.pp` in puppet and `scripts/refresh-sharding-and-restart`.
This commit is contained in:
parent
a659542d84
commit
b5bcff04e5
|
@ -5,7 +5,7 @@ set -e
|
|||
"$(dirname "$0")/zulip-puppet-apply" -f
|
||||
# The step above should have generated the config files, now we need to move them into place:
|
||||
chown root:root /etc/zulip/nginx_sharding.conf.tmp
|
||||
chmod 640 /etc/zulip/nginx_sharding.conf.tmp
|
||||
chmod 644 /etc/zulip/nginx_sharding.conf.tmp
|
||||
chown zulip:zulip /etc/zulip/sharding.json.tmp
|
||||
chmod 640 /etc/zulip/sharding.json.tmp
|
||||
mv /etc/zulip/nginx_sharding.conf.tmp /etc/zulip/nginx_sharding.conf
|
||||
|
|
Loading…
Reference in New Issue