diff --git a/scripts/refresh-sharding-and-restart b/scripts/refresh-sharding-and-restart index a76806dee3..76996cddf3 100755 --- a/scripts/refresh-sharding-and-restart +++ b/scripts/refresh-sharding-and-restart @@ -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