From a2adeff09bfe4d6fe3b3304a2f7be1acc8deafdb Mon Sep 17 00:00:00 2001 From: usmannasir <01-134132-158@student.bahria.edu.pk> Date: Mon, 25 Feb 2019 14:53:02 +0500 Subject: [PATCH] minor bug fix to child domain conf --- plogical/vhost.py | 1 + plogical/vhostConfs.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plogical/vhost.py b/plogical/vhost.py index dbdb7f224..3269060cc 100644 --- a/plogical/vhost.py +++ b/plogical/vhost.py @@ -734,6 +734,7 @@ class vhost: currentConf = currentConf.replace('{masterDomain}', masterDomain) currentConf = currentConf.replace('{adminEmails}', administratorEmail) currentConf = currentConf.replace('{externalApp}', externalApp) + currentConf = currentConf.replace('{externalAppMaster}', virtualHostUser) currentConf = currentConf.replace('{php}', php) currentConf = currentConf.replace('{adminEmails}', administratorEmail) currentConf = currentConf.replace('{php}', php) diff --git a/plogical/vhostConfs.py b/plogical/vhostConfs.py index f8fd77ee7..d4f691371 100644 --- a/plogical/vhostConfs.py +++ b/plogical/vhostConfs.py @@ -123,8 +123,8 @@ extprocessor {externalApp} { respBuffer 0 autoStart 1 path /usr/local/lsws/lsphp{php}/bin/lsphp - extUser {externalApp} - extGroup {externalApp} + extUser {externalAppMaster} + extGroup {externalAppMaster} memSoftLimit 2047M memHardLimit 2047M procSoftLimit 400