From 7edfe45f38cc6988f1b9b5ae6754cd64cc1b83ac Mon Sep 17 00:00:00 2001 From: drunkendog Date: Mon, 26 Sep 2022 14:26:55 +0100 Subject: [PATCH] Update 'scripts/setup-template.py' --- scripts/setup-template.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/setup-template.py b/scripts/setup-template.py index 2bac9c2..c70ab2b 100644 --- a/scripts/setup-template.py +++ b/scripts/setup-template.py @@ -10,6 +10,9 @@ with open("../nginx-site-template.conf", "r") as f: with open("/etc/nginx/sites-available/#service.conf", "w") as f: f.write(template) +#GET_CERT +os.system(f"sh getcert.sh {sys.argv[1]} {sys.argv[2]}") + #GENERATE_NGINX # depreceated, TODO: replace with os.subprocess os.system("sh ../nginx-ensite.sh #service")