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 9
9
INTEGRATED_NAME ,
10
10
CPANEL_NAME ,
11
11
DIRECTADMIN_NAME ,
12
+ PLESK_NAME ,
12
13
)
13
14
14
15
required_memory = {
15
16
NOPANEL_NAME : 1536 * 1024 , # 1.5 Gb
16
17
UNKNOWN_NAME : 1536 * 1024 , # 1.5 Gb
17
18
INTEGRATED_NAME : 1536 * 1024 , # 1.5 Gb
18
19
DIRECTADMIN_NAME : 1536 * 1024 , # 1.5 Gb
20
+ PLESK_NAME : 1536 * 1024 , # 1.5 Gb
19
21
CPANEL_NAME : 1836 * 1024 , # 1.8 Gb
20
22
}
21
23
Original file line number Diff line number Diff line change 11
11
UNKNOWN_NAME ,
12
12
INTEGRATED_NAME ,
13
13
CPANEL_NAME ,
14
- DIRECTADMIN_NAME
14
+ DIRECTADMIN_NAME ,
15
+ PLESK_NAME
15
16
)
16
17
17
18
@@ -31,7 +32,7 @@ def process(self):
31
32
if panel is None :
32
33
raise StopActorExecutionError (message = ("Missing information about the installed web panel." ))
33
34
34
- if panel .name in (CPANEL_NAME , DIRECTADMIN_NAME ):
35
+ if panel .name in (CPANEL_NAME , DIRECTADMIN_NAME , PLESK_NAME ):
35
36
self .log .debug ('%s detected, upgrade proceeding' % panel .name )
36
37
elif panel .name == INTEGRATED_NAME or panel .name == UNKNOWN_NAME or panel .name == NOPANEL_NAME :
37
38
self .log .debug ('Integrated/no panel detected, upgrade proceeding' )
You can’t perform that action at this time.
0 commit comments