Sleep instead of stopping containers to prevent restarts

This commit is contained in:
andryyy
2017-09-20 12:50:50 +02:00
parent df5c79c3f1
commit b6e84fac3a
3 changed files with 3 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ fi
while true; do
if [[ "${SKIP_LETS_ENCRYPT}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
echo "SKIP_LETS_ENCRYPT=y, skipping Let's Encrypt..."
sleep 3650d
sleep 365d
exec $(readlink -f "$0")
fi
if [[ "${SKIP_IP_CHECK}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then