Browse Source

Add logging message when not writing a config.

pull/3/head
Shane Mc Cormack 6 years ago
parent
commit
8f70782ba7
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      generate.py

+ 3
- 0
generate.py View File

@@ -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
 

Loading…
Cancel
Save