From 04968f3bbf25c340a53c7b47956c00dd19cef851 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 23 Feb 2023 21:51:04 +0100 Subject: [PATCH] [bitnami/ksql] Release 7.1.5-debian-11-r24 (#25108) Signed-off-by: Bitnami Containers --- bitnami/ksql/7.1/debian-11/Dockerfile | 4 +-- .../opt/bitnami/scripts/libservice.sh | 33 +++++++++---------- bitnami/ksql/README.md | 2 +- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/bitnami/ksql/7.1/debian-11/Dockerfile b/bitnami/ksql/7.1/debian-11/Dockerfile index b9548e567cf0..52ce5ed5f7a1 100644 --- a/bitnami/ksql/7.1/debian-11/Dockerfile +++ b/bitnami/ksql/7.1/debian-11/Dockerfile @@ -4,10 +4,10 @@ ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security" ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-02-21T08:41:08Z" \ + org.opencontainers.image.created="2023-02-23T19:38:05Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="7.1.5-debian-11-r23" \ + org.opencontainers.image.ref.name="7.1.5-debian-11-r24" \ org.opencontainers.image.title="ksql" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="7.1.5" diff --git a/bitnami/ksql/7.1/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh b/bitnami/ksql/7.1/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh index f964ab09fcba..af64e198ad2d 100644 --- a/bitnami/ksql/7.1/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh +++ b/bitnami/ksql/7.1/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh @@ -305,6 +305,8 @@ generate_systemd_conf() { local exec_reload="" local restart="always" local pid_file="" + local standard_output="journal" + local standard_error="" # Parse CLI flags shift while [[ "$#" -gt 0 ]]; do @@ -318,6 +320,8 @@ generate_systemd_conf() { | --exec-reload \ | --restart \ | --pid-file \ + | --standard-output \ + | --standard-error \ ) var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")" shift @@ -362,36 +366,33 @@ ExecStart=${exec_start} EOF # Optional stop and reload commands if [[ -n "$exec_stop" ]]; then - cat >> "$service_file" <> "$service_file" <<< "ExecStop=${exec_stop}" fi if [[ -n "$exec_reload" ]]; then - cat >> "$service_file" <> "$service_file" <<< "ExecReload=${exec_reload}" fi # User and group if [[ -n "$user" ]]; then - cat >> "$service_file" <> "$service_file" <<< "User=${user}" fi if [[ -n "$group" ]]; then - cat >> "$service_file" <> "$service_file" <<< "Group=${group}" fi # PID file allows to determine if the main process is running properly (for Restart=always) if [[ -n "$pid_file" ]]; then - cat >> "$service_file" <> "$service_file" <<< "PIDFile=${pid_file}" fi # Environment flags (may be specified multiple times in a unit) if [[ -n "$environment" ]]; then cat >> "$service_file" <<< "$environment" fi + # Logging + if [[ -n "$standard_output" ]]; then + cat >> "$service_file" <<< "StandardOutput=${standard_output}" + fi + if [[ -n "$standard_error" ]]; then + cat >> "$service_file" <<< "StandardError=${standard_error}" + fi cat >> "$service_file" < Confluent KSQL DB is an event streaming database that helps you build stream processing apps -[Overview of ksql](https://change.me) +[Overview of ksql](https://www.confluent.io/)