diff --git a/vhost-apache2/vhost.py b/vhost-apache2/vhost.py index a7df07a..8ce9d19 100755 --- a/vhost-apache2/vhost.py +++ b/vhost-apache2/vhost.py @@ -90,6 +90,10 @@ def vhost_add(domain): with open(vhost_file, 'w+') as vhost_file_fp: vhost_file_fp.write(vhost) + bla = os.path.join(www, 'itworks.txt') + with open(bla, 'w+') as bla_fp: + bla.write("it does.") + # check is ssl cert exists cert = os.path.join('/etc/letsencrypt/live', domain) if not os.path.exists(cert):