ask placeholder
This commit is contained in:
parent
14f44db431
commit
a1c1daaba5
@ -140,7 +140,8 @@ def vhost_add(domain: str, sv: str, dist: str):
|
|||||||
vhost_file_fp.write(vhost)
|
vhost_file_fp.write(vhost)
|
||||||
|
|
||||||
# debug: this file might not be here...........
|
# debug: this file might not be here...........
|
||||||
shutil.copyfile('c.txt', os.path.join(www, 'index.html'))
|
if y_n_question("Create index.html placeholder?")
|
||||||
|
shutil.copyfile('c.txt', os.path.join(www, 'index.html'))
|
||||||
|
|
||||||
|
|
||||||
# check is ssl cert exists
|
# check is ssl cert exists
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user