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:
Alex Vandiver 2020-09-09 14:37:35 -07:00 committed by Tim Abbott
parent a659542d84
commit b5bcff04e5
1 changed files with 1 additions and 1 deletions

View File

@ -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