[bitnami/etcd] Release 3.4.24-debian-11-r12 (#28247)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2023-03-24 23:44:01 +01:00 committed by GitHub
parent c16969f655
commit 21c4b31f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 7 deletions

View File

@ -3,10 +3,10 @@ FROM docker.io/bitnami/minideb:bullseye
ARG TARGETARCH
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-03-21T22:00:28Z" \
org.opencontainers.image.created="2023-03-24T22:23:47Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="3.4.24-debian-11-r11" \
org.opencontainers.image.ref.name="3.4.24-debian-11-r12" \
org.opencontainers.image.title="etcd" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="3.4.24"

View File

@ -395,7 +395,7 @@ PartOf=bitnami.service
Type=${type}
EOF
if [[ -n "$working_directory" ]]; then
cat >> "$service_file" <<< "WorkingDirectory=$working_directory"
cat >> "$service_file" <<< "WorkingDirectory=${working_directory}"
fi
if [[ -n "$exec_start_pre" ]]; then
# This variable may contain multiple ExecStartPre= directives

View File

@ -112,7 +112,11 @@ is_web_server_running() {
#########################
web_server_start() {
info "Starting $(web_server_type) in background"
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/start.sh"
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
systemctl start "bitnami.$(web_server_type).service"
fi
}
########################
@ -126,7 +130,11 @@ web_server_start() {
#########################
web_server_stop() {
info "Stopping $(web_server_type)"
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/stop.sh"
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
systemctl stop "bitnami.$(web_server_type).service"
fi
}
########################
@ -140,7 +148,11 @@ web_server_stop() {
#########################
web_server_restart() {
info "Restarting $(web_server_type)"
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/restart.sh"
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
systemctl restart "bitnami.$(web_server_type).service"
fi
}
########################
@ -153,7 +165,11 @@ web_server_restart() {
# None
#########################
web_server_reload() {
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/reload.sh"
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
systemctl reload "bitnami.$(web_server_type).service"
fi
}
########################