bitnami-containers/bitnami/memcached/1/debian-9/rootfs/postunpack.sh

17 lines
365 B
Bash
Executable File

#!/bin/bash
# shellcheck disable=SC1091
# Load libraries
. /libmemcached.sh
. /libfs.sh
# Load Memcached environment variables
eval "$(memcached_env)"
# Ensure directories used by Memcached exist and have proper ownership and permissions
for dir in "${MEMCACHED_CONF_DIR}" "${SASL_CONF_PATH}"; do
ensure_dir_exists "${dir}"
chmod -R g+rwX "${dir}"
done