Files
laradock/docker/core-base-consul/rootfs/etc/cont-finish.d/98-consul-template
Dwi Fahni Denni (zeroc0d3) 74bbfb8443 Change path for all Dockerfile
2018-04-28 08:19:36 +07:00

8 lines
201 B
Plaintext

#!/usr/bin/with-contenv sh
if [ ! -z ${CONSUL_AGENT} ] && [ ${CONSULTEMPLATE_SERVICES} -eq 1 ]; then
echo "==> Disabling services configuration"
touch /etc/services.d/consul-template/down
fi