fix web ui smoke and brand assets
This commit is contained in:
@@ -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