mirror of https://github.com/zulip/zulip.git
sharding: Also mark sharding.json 644 for consistency.
There is no reason to limit this to 640; mark it 644 for consistency with the other file.
This commit is contained in:
parent
b5bcff04e5
commit
bf029d99f1
|
@ -21,7 +21,7 @@ class zulip::tornado_sharding {
|
||||||
require => User['zulip'],
|
require => User['zulip'],
|
||||||
owner => 'zulip',
|
owner => 'zulip',
|
||||||
group => 'zulip',
|
group => 'zulip',
|
||||||
mode => '0640',
|
mode => '0644',
|
||||||
content => "{}\n",
|
content => "{}\n",
|
||||||
replace => false,
|
replace => false,
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ set -e
|
||||||
chown root:root /etc/zulip/nginx_sharding.conf.tmp
|
chown root:root /etc/zulip/nginx_sharding.conf.tmp
|
||||||
chmod 644 /etc/zulip/nginx_sharding.conf.tmp
|
chmod 644 /etc/zulip/nginx_sharding.conf.tmp
|
||||||
chown zulip:zulip /etc/zulip/sharding.json.tmp
|
chown zulip:zulip /etc/zulip/sharding.json.tmp
|
||||||
chmod 640 /etc/zulip/sharding.json.tmp
|
chmod 644 /etc/zulip/sharding.json.tmp
|
||||||
mv /etc/zulip/nginx_sharding.conf.tmp /etc/zulip/nginx_sharding.conf
|
mv /etc/zulip/nginx_sharding.conf.tmp /etc/zulip/nginx_sharding.conf
|
||||||
mv /etc/zulip/sharding.json.tmp /etc/zulip/sharding.json
|
mv /etc/zulip/sharding.json.tmp /etc/zulip/sharding.json
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue