[bitnami/mediawiki] Release 1.39.3-debian-11-r3 (#29834)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2023-04-10 23:17:54 +02:00 committed by GitHub
parent 44c3d22910
commit 42cbd1853a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 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-04-07T14:56:11Z" \
org.opencontainers.image.created="2023-04-10T20:15:12Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="1.39.3-debian-11-r2" \
org.opencontainers.image.ref.name="1.39.3-debian-11-r3" \
org.opencontainers.image.title="mediawiki" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="1.39.3"

View File

@ -112,10 +112,10 @@ 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
if [[ "${BITNAMI_SERVICE_MANAGER:-}" = "systemd" ]]; then
systemctl start "bitnami.$(web_server_type).service"
else
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/start.sh"
fi
}
@ -130,10 +130,10 @@ 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
if [[ "${BITNAMI_SERVICE_MANAGER:-}" = "systemd" ]]; then
systemctl stop "bitnami.$(web_server_type).service"
else
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/stop.sh"
fi
}
@ -148,10 +148,10 @@ 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
if [[ "${BITNAMI_SERVICE_MANAGER:-}" = "systemd" ]]; then
systemctl restart "bitnami.$(web_server_type).service"
else
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/restart.sh"
fi
}
@ -165,10 +165,10 @@ 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
if [[ "${BITNAMI_SERVICE_MANAGER:-}" = "systemd" ]]; then
systemctl reload "bitnami.$(web_server_type).service"
else
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/reload.sh"
fi
}

View File

@ -19,7 +19,7 @@ MEDIAWIKI_SERVER_HOST="${1:?missing host}"
mediawiki_configure_host "$MEDIAWIKI_SERVER_HOST"
# Reload PHP-FPM configuration to ensure that the home page redirects to the new domain
if [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
if [[ "${BITNAMI_SERVICE_MANAGER:-}" = "systemd" ]]; then
systemctl reload bitnami.php-fpm.service
else
/opt/bitnami/scripts/php/reload.sh