Pārlūkot izejas kodu

Add logging message when not writing a config.

pull/3/head
Shane Mc Cormack 6 gadus atpakaļ
vecāks
revīzija
8f70782ba7
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3
    0
      generate.py

+ 3
- 0
generate.py Parādīt failu

@@ -46,6 +46,9 @@ while True:
46 46
       print('Writing vhosts.conf...', flush=True)
47 47
       f.write(template.render(services=services))
48 48
       wroteConfig = True;
49
+    print('Done writing config.', flush=True)
50
+  else:
51
+    print('Not writing empty config. Ensure that your letsencrypt certificates are accessible to this container.')
49 52
 
50 53
   print('Done writing config.', flush=True)
51 54
 

Notiek ielāde…
Atcelt
Saglabāt