Sleep instead of stopping containers to prevent restarts

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

No files matched your search

+1 -1
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