mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-10-01 00:55:42 -04:00
19 lines
278 B
Bash
Executable File
19 lines
278 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
[[ $# -eq 1 ]] || exit 1
|
|
|
|
user=root
|
|
|
|
. hosts.sh
|
|
|
|
declare -n hosts=hosts_$1
|
|
for host in ${hosts[@]}; do
|
|
echo $host
|
|
echo
|
|
|
|
ssh $user@$host curl -sS --unix-socket /run/nginx/status.sock http://localhost/
|
|
echo
|
|
done
|