refresh-sharding-and-restart: Quote to prevent shell glob expansion.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-09-13 17:17:58 -07:00 committed by Tim Abbott
parent 654bab1d19
commit ea6f18bb46
1 changed files with 1 additions and 1 deletions

View File

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