Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Core/Utilities/InstallTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,13 @@ def runsvctrlComponent( system, component, mode ):
return S_ERROR( 'Unknown runsvctrl mode "%s"' % mode )

startCompDirs = glob.glob( os.path.join( startDir, '%s_%s' % ( system, component ) ) )
# Make sure that the Configuration server restarts first and the SystemAdmin restarts last
tmpList = list(startCompDirs)
for comp in tmpList:
if "Framework_SystemAdministrator" in comp:
startCompDirs.append(startCompDirs.pop(startCompDirs.index(comp)))
if "Configuration_Server" in comp:
startCompDirs.insert(0,startCompDirs.pop(startCompDirs.index(comp)))
startCompList = [ [k] for k in startCompDirs]
for startComp in startCompList:
result = execCommand( 0, ['runsvctrl', mode] + startComp )
Expand Down