Update 'scripts/setup-template.py'

pull/4/head
drunkendog 2022-09-26 14:26:55 +01:00
parent cf2ab0d4ee
commit 7edfe45f38
1 changed files with 3 additions and 0 deletions

View File

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