File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
repos/system_upgrade/cloudlinux/actors
checkpanelmemory/libraries Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 88 UNKNOWN_NAME ,
99 INTEGRATED_NAME ,
1010 CPANEL_NAME ,
11+ DIRECTADMIN_NAME ,
1112)
1213
1314required_memory = {
1415 NOPANEL_NAME : 1536 * 1024 , # 1.5 Gb
1516 UNKNOWN_NAME : 1536 * 1024 , # 1.5 Gb
1617 INTEGRATED_NAME : 1536 * 1024 , # 1.5 Gb
18+ DIRECTADMIN_NAME : 1536 * 1024 , # 1.5 Gb
1719 CPANEL_NAME : 1836 * 1024 , # 1.8 Gb
1820}
1921
Original file line number Diff line number Diff line change 1111 UNKNOWN_NAME ,
1212 INTEGRATED_NAME ,
1313 CPANEL_NAME ,
14+ DIRECTADMIN_NAME
1415)
1516
1617
@@ -30,8 +31,8 @@ def process(self):
3031 if panel is None :
3132 raise StopActorExecutionError (message = ("Missing information about the installed web panel." ))
3233
33- if panel .name == CPANEL_NAME :
34- self .log .debug ('cPanel detected, upgrade proceeding' )
34+ if panel .name in ( CPANEL_NAME , DIRECTADMIN_NAME ) :
35+ self .log .debug ('%s detected, upgrade proceeding' % panel . name )
3536 elif panel .name == INTEGRATED_NAME or panel .name == UNKNOWN_NAME or panel .name == NOPANEL_NAME :
3637 self .log .debug ('Integrated/no panel detected, upgrade proceeding' )
3738 elif panel :
You can’t perform that action at this time.
0 commit comments