mirror of
https://github.com/hanzozt/zt.git
synced 2026-10-30 15:04:55 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
6 lines
173 B
Bash
6 lines
173 B
Bash
#!/bin/bash
|
|
while true; do
|
|
zt agent list | grep -o -e 'host[a-zA-z0-9\-]*' | xargs -I{} sh -c 'zt agent stack --app-alias $1 > $1.$(date +%s).stack' -- {}
|
|
sleep 15
|
|
done
|