Browse Source

Create /letsencrypt/well-known if it doesn't exit

pull/1/head
Shane Mc Cormack 6 years ago
parent
commit
3acce7e87b
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      run.sh

+ 5
- 0
run.sh View File

@@ -14,6 +14,11 @@ else
14 14
   DEHYDRATED_CMD="/dehydrated"
15 15
 fi
16 16
 
17
+if [ ! -e /letsencrypt/well-known ]; then
18
+  mkdir -p /letsencrypt/well-known
19
+  chmod 755 /letsencrypt/well-known
20
+fi;
21
+
17 22
 while true; do
18 23
   $DEHYDRATED_CMD --cron --challenge http-01
19 24
   $DEHYDRATED_CMD --cleanup

Loading…
Cancel
Save