fix web ui smoke and brand assets

This commit is contained in:
hectorzhao
2026-06-30 11:13:30 +08:00
parent 0dfb2988b2
commit 9920575bba
103 changed files with 6650 additions and 135 deletions
+52
View File
@@ -0,0 +1,52 @@
#!/usr/bin/env bash
set -euo pipefail
if [ "$(id -u)" -ne 0 ]; then
exec sudo "$0" "$@"
fi
echo "== LisgloSIPS B startup =="
hostname
systemctl start \
mysql \
redis-server \
nginx \
heplify-server \
lisglosips-prometheus \
grafana-server
systemctl start \
lisglosips@api \
lisglosips@cdr-worker \
lisglosips@recording-worker \
lisglosips@config-publisher
nginx -t
echo "== release =="
readlink -f /opt/lisglosips/current
echo "== services =="
systemctl is-active \
mysql \
redis-server \
nginx \
lisglosips@api \
lisglosips@cdr-worker \
lisglosips@recording-worker \
lisglosips@config-publisher \
heplify-server \
lisglosips-prometheus \
grafana-server
echo "== api ready =="
curl -fsS http://127.0.0.1:3000/api/v2/health/ready
echo
echo "== preflight =="
/opt/lisglosips/current/infra/server-b/s30/lisglosips-release-preflight.sh
echo "== failed units =="
systemctl --failed --no-pager