v1.2.3 - swarm support

This commit is contained in:
bunkerity
2021-03-18 18:08:42 +01:00
parent 017a7780fb
commit c5c5fb17b5
3 changed files with 18 additions and 9 deletions

View File

@@ -83,6 +83,7 @@ class Config :
if proc.returncode == 0 and vars_defaults["MULTISITE"] == "yes" and self.__swarm :
proc = subprocess.run(["/bin/su", "-s", "/opt/entrypoint/multisite-config.sh", "nginx"], env=vars_defaults, capture_output=True)
return proc.returncode == 0
return proc.returncode == 0
except Exception as e :
traceback.print_exc()
utils.log("[!] Error while generating site config : " + str(e))