mirror of
https://github.com/zulip/zulip.git
synced 2025-11-23 16:01:24 +00:00
Most of these problems were found by ShellCheck (http://www.shellcheck.net). Signed-off-by: Anders Kaseorg <andersk@mit.edu>
8 lines
224 B
Bash
Executable File
8 lines
224 B
Bash
Executable File
#!/bin/sh
|
|
if [ "$(hostname)" = "staging.zulip.net" ]; then
|
|
site="https://staging.zulip.com"
|
|
else
|
|
site="https://api.zulip.com"
|
|
fi
|
|
/home/zulip/deployments/current/bots/check_send_receive.py --munin "$1" --site="$site"
|