aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/scripts/common.sh11
-rw-r--r--debian/changelog6
2 files changed, 11 insertions, 6 deletions
diff --git a/data/scripts/common.sh b/data/scripts/common.sh
index faa6b03..0c5f3a2 100644
--- a/data/scripts/common.sh
+++ b/data/scripts/common.sh
@@ -1,7 +1,6 @@
#!/bin/bash
SERVER_URL="https://frypan.jadupc.com" #"builder.jadupc.com"
-SERVER_URL="https://builder.jadupc.com/logs" #"builder.jadupc.com"
if [[ $DEBUG ]]; then
SERVER_URL="http://log-server.local"
@@ -29,22 +28,22 @@ function communicate
wlmac="$3"
enmac="$4"
year="$5"
- shift 5
+ shift 5
case "${type#*/}" in
weekly)
week="$1"
- shift 1
- set -- -d "week=$week" "$@"
+ shift 1
+ set -- -d "week=$week" "$@"
;;
daily)
month="$1"
day="$2"
- shift 2
+ shift 2
set -- -d "month=$month" -d "day=$day" "$@"
;;
esac
- curl \
+ curl --disable -Ls \
-d "type=${type%%/*}" -d "wlmac=$wlmac" \
-d "enmac=$enmac" -d "year=$year" "$@" \
"$SERVER_URL$endpoint"
diff --git a/debian/changelog b/debian/changelog
index 7e881aa..e5b8460 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+shopno-os-log-sync (1.99.3) shopno; urgency=medium
+
+ * config: Update logger domain
+
+ -- Mubashshir <ahm@jadupc.com> Wed, 05 Apr 2023 15:47:22 +0600
+
shopno-os-log-sync (1.99.2) shopno; urgency=medium
* Implement Log uploader