fix web ui smoke and brand assets
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
exec sudo "$0" "$@"
|
||||
fi
|
||||
|
||||
echo "== LisgloSIPS A startup =="
|
||||
hostname
|
||||
|
||||
systemctl start lisglosips-redis-hotpath-load.service
|
||||
systemctl start \
|
||||
opensips \
|
||||
rtpengine-daemon \
|
||||
rtpengine-recording-daemon \
|
||||
lisglosips-redis-auth-proxy \
|
||||
lisglosips-node-exporter \
|
||||
lisglosips-recording-finalize.timer
|
||||
|
||||
opensips -C -f /etc/opensips/opensips.cfg >/tmp/lisglosips-opensips-check.log
|
||||
|
||||
echo "== services =="
|
||||
systemctl is-active \
|
||||
opensips \
|
||||
rtpengine-daemon \
|
||||
rtpengine-recording-daemon \
|
||||
lisglosips-redis-auth-proxy \
|
||||
lisglosips-node-exporter \
|
||||
lisglosips-recording-finalize.timer
|
||||
|
||||
echo "== hotpath =="
|
||||
systemctl show -p Result lisglosips-redis-hotpath-load.service
|
||||
|
||||
echo "== failed units =="
|
||||
systemctl --failed --no-pager
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
exec sudo "$0" "$@"
|
||||
fi
|
||||
|
||||
echo "== LisgloSIPS T startup =="
|
||||
hostname
|
||||
|
||||
systemctl reset-failed opensips || true
|
||||
systemctl start \
|
||||
mariadb \
|
||||
apache2 \
|
||||
rtpengine-daemon \
|
||||
rtpengine-recording-daemon \
|
||||
opensips \
|
||||
lisglosips-s28-uas
|
||||
|
||||
opensips -C -f /etc/opensips/opensips.cfg >/tmp/lisglosips-t-opensips-check.log
|
||||
|
||||
echo "== services =="
|
||||
systemctl is-active \
|
||||
opensips \
|
||||
rtpengine-daemon \
|
||||
rtpengine-recording-daemon \
|
||||
lisglosips-s28-uas \
|
||||
apache2 \
|
||||
mariadb
|
||||
|
||||
echo "== failed units =="
|
||||
systemctl --failed --no-pager
|
||||
|
||||
Reference in New Issue
Block a user