|
@ -1008,10 +1008,22 @@ class EEStackController(CementBaseController): |
|
|
shutil.move('/tmp/webgrind-master/', |
|
|
shutil.move('/tmp/webgrind-master/', |
|
|
'{0}22222/htdocs/php/webgrind' |
|
|
'{0}22222/htdocs/php/webgrind' |
|
|
.format(EEVariables.ee_webroot)) |
|
|
.format(EEVariables.ee_webroot)) |
|
|
EEShellExec.cmd_exec(self, "sed -i \"s\'/usr/local/bin/dot\'" |
|
|
|
|
|
"/usr/bin/dot\'\" {0}22222/htdocs/" |
|
|
EEFileUtils.searchreplace(self, "{0}22222/htdocs/php/webgrind/" |
|
|
"php/webgrind/config.php" |
|
|
"config.php" |
|
|
.format(EEVariables.ee_webroot)) |
|
|
.format(EEVariables.ee_webroot), |
|
|
|
|
|
"/usr/local/bin/dot", "/usr/bin/dot") |
|
|
|
|
|
EEFileUtils.searchreplace(self, "{0}22222/htdocs/php/webgrind/" |
|
|
|
|
|
"config.php" |
|
|
|
|
|
.format(EEVariables.ee_webroot), |
|
|
|
|
|
"Europe/Copenhagen", |
|
|
|
|
|
EEVariables.ee_timezone) |
|
|
|
|
|
|
|
|
|
|
|
EEFileUtils.searchreplace(self, "{0}22222/htdocs/php/webgrind/" |
|
|
|
|
|
"config.php" |
|
|
|
|
|
.format(EEVariables.ee_webroot), |
|
|
|
|
|
"90", "100") |
|
|
|
|
|
|
|
|
Log.debug(self, "Setting Privileges of webroot permission to " |
|
|
Log.debug(self, "Setting Privileges of webroot permission to " |
|
|
"{0}22222/htdocs/php/webgrind/ file " |
|
|
"{0}22222/htdocs/php/webgrind/ file " |
|
|
.format(EEVariables.ee_webroot)) |
|
|
.format(EEVariables.ee_webroot)) |
|
|