From 10c8d98e036da5c76980d063cf4ef41f09a39d52 Mon Sep 17 00:00:00 2001 From: fstagni Date: Wed, 14 Apr 2021 18:15:09 +0200 Subject: [PATCH] executing the deployed script directly --- src/DIRAC/FrameworkSystem/Client/ComponentInstaller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DIRAC/FrameworkSystem/Client/ComponentInstaller.py b/src/DIRAC/FrameworkSystem/Client/ComponentInstaller.py index ed6cf8d5bdd..7d59f0df1db 100644 --- a/src/DIRAC/FrameworkSystem/Client/ComponentInstaller.py +++ b/src/DIRAC/FrameworkSystem/Client/ComponentInstaller.py @@ -1917,7 +1917,7 @@ def installComponent(self, componentType, system, component, extensions, compone [[ "%(componentType)s" = "agent" ]] && renice 20 -p $$ #%(bashVariables)s # -exec python $DIRAC/DIRAC/Core/scripts/dirac_%(componentType)s.py \ +exec dirac-%(componentType)s \ %(system)s/%(component)s --cfg %(componentCfg)s < /dev/null """ % {'bashrc': os.path.join(self.instancePath, 'bashrc'), 'bashVariables': bashVars, @@ -2107,7 +2107,7 @@ def installPortal(self): # exec 2>&1 # -exec python %(DIRAC)s/WebAppDIRAC/scripts/dirac-webapp-run.py -p < /dev/null +exec dirac-webapp-run -p < /dev/null """ % {'bashrc': os.path.join(self.instancePath, 'bashrc'), 'DIRAC': self.linkedRootPath}) @@ -2544,7 +2544,7 @@ def installTornado(self): exec 2>&1 # # - exec python $DIRAC/DIRAC/Core/Tornado/scripts/tornado_start_all.py -ddd + exec tornado-start-all """ % {'bashrc': os.path.join(self.instancePath, 'bashrc')}) os.chmod(runFile, self.gDefaultPerms)