Page MenuHomeWMGMC Issues

docker-entrypoint.sh
No OneTemporary

docker-entrypoint.sh

#!/bin/bash
if [[ "${SKIP_SOGO}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
echo "SKIP_SOGO=y, skipping SOGo..."
sleep 365d
exit 0
fi
if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
cp /etc/syslog-ng/syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng.conf
fi
echo "$TZ" > /etc/timezone
# Run hooks
for file in /hooks/*; do
if [ -x "${file}" ]; then
echo "Running hook ${file}"
"${file}"
fi
done
exec "$@"

File Metadata

Mime Type
text/x-shellscript
Expires
9月 9 Tue, 5:40 AM (7 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5308
默认替代文本
docker-entrypoint.sh (415 B)

Event Timeline