Update 'scripts/setup-template.py'

pull/4/head
drunkendog 2023-08-23 19:36:00 +01:00
parent afd2d59ee8
commit be18be4f40
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ args = parser.parse_args()
#QUICK_RECOVER #QUICK_RECOVER
os.makedirs(os.path.dirname("/opt/quick-recover/"), exist_ok=True) os.makedirs(os.path.dirname("/opt/quick-recover/"), exist_ok=True)
with open("/opt/quick-recover/#service.conf", "w") as f: with open("/opt/quick-recover/#service.conf", "w") as f:
f.write(f"export DOMAIN='{parser.domain}'\n") f.write(f"export DOMAIN='{args.domain}'\n")
f.write(f"export EMAIL='{parser.email}'\n") f.write(f"export EMAIL='{args.email}'\n")
#FILE_READ #FILE_READ
with open("../nginx-site-template.conf", "r") as f: with open("../nginx-site-template.conf", "r") as f: