mirror of https://github.com/zulip/zulip.git
refresh-sharding-and-restart: Quote to prevent shell glob expansion.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
654bab1d19
commit
ea6f18bb46
|
@ -33,7 +33,7 @@ mv /etc/zulip/sharding.json.tmp /etc/zulip/sharding.json
|
||||||
# while Django is restarting. For this reason it's important to
|
# while Django is restarting. For this reason it's important to
|
||||||
# reload nginx only after Django.
|
# reload nginx only after Django.
|
||||||
supervisorctl restart zulip-django
|
supervisorctl restart zulip-django
|
||||||
supervisorctl restart zulip-workers:*
|
supervisorctl restart 'zulip-workers:*'
|
||||||
if [ -f /etc/supervisor/conf.d/zulip/zulip-once.conf ]; then
|
if [ -f /etc/supervisor/conf.d/zulip/zulip-once.conf ]; then
|
||||||
supervisorctl restart zulip_deliver_scheduled_emails zulip_deliver_scheduled_messages
|
supervisorctl restart zulip_deliver_scheduled_emails zulip_deliver_scheduled_messages
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue