This repository has been archived on 2026-11-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
docker-openldap/service/mmc-agent/mmc-agent.sh
T
2014-08-22 16:44:54 +02:00

18 lines
288 B
Bash
Executable File

#!/bin/sh
# -e Exit immediately if a command exits with a non-zero status
set -e
WITH_MMC_AGENT=${WITH_MMC_AGENT}
if [ "$WITH_MMC_AGENT" = true ]; then
if [ -e /etc/ldap/config/docker_bootstrapped ]; then
exec /usr/sbin/mmc-agent -d
else
sleep 3s
fi
else
sleep 1d
fi