fetch_customer_updates(): add debug output.

check_for_running_apism(): use port 7777 instead of port 7778.
This commit is contained in:
Gerhard Hoffmann 2023-06-29 13:36:56 +02:00
parent 3affefe82a
commit 1ecabe79ca

View File

@ -24,9 +24,12 @@ exec_opkg_command () {
# Fetch/merge updates from predefined repository using git. # Fetch/merge updates from predefined repository using git.
# #
fetch_customer_updates() { fetch_customer_updates() {
local func="${FUNCNAME[0]}"
if ! pull_customer_repository; then if ! pull_customer_repository; then
log_warn "$func:${LINENO} NO pull_customer_repository"
return 1 return 1
fi fi
log_debug "$func:${LINENO} pull_customer_repository SUCCESS"
return 0 return 0
} }
@ -375,7 +378,7 @@ cleanup_previous_version() {
check_for_running_apism () { check_for_running_apism () {
local func="${FUNCNAME[0]}" local func="${FUNCNAME[0]}"
if nc localhost 7778 if nc localhost 7777
then then
APISM_RUNNING=1 APISM_RUNNING=1
log_info "$func:${LINENO}: APISM is running..." log_info "$func:${LINENO}: APISM is running..."