Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

sharding: Consistent mode for nginx sharding file.

Alex Vandiverb5bcff04e5ec
diff --git a/scripts/refresh-sharding-and-restart b/scripts/refresh-sharding-and-restart
index a76806dee3f..76996cddf36 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