mirror of
https://github.com/anten-ka/gotelegram_pro.git
synced 2026-05-19 11:26:03 +00:00
v2.5.0: redesign local admin and repair stats
This commit is contained in:
@@ -924,6 +924,9 @@ SVCEOF
|
||||
systemctl daemon-reload
|
||||
systemctl enable "$ADMIN_WEB_SERVICE" &>/dev/null
|
||||
systemctl restart "$ADMIN_WEB_SERVICE" 2>/dev/null || systemctl start "$ADMIN_WEB_SERVICE"
|
||||
if type install_stats_collector &>/dev/null; then
|
||||
install_stats_collector >/dev/null 2>&1 || log_warning "stats collector was not started; open Web Admin traffic page and use Repair"
|
||||
fi
|
||||
log_success "Web admin installed: ${ADMIN_WEB_HOST}:${ADMIN_WEB_PORT}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user