§ ½@¾jãó°—ddlZddlmZmZddlmZddlmZddlm Z ddl m Z dZ dZ ed ¦«d „¦«Zed ¦«d ed efd„¦«ZdS)éN)ÚrunÚtask)Úconfigure_accelerate_wp)ÚFeature)Úis_panel_feature_supported)Ú is_ubuntuÚallowed_for_allÚ accelerate_wpzEnabling Accelerate WPcó^—t¦«rtjd¦«dSttj¦«stjd¦«dS t ¦«n$#t$rtjd¦«YnwxYwtj d¦«tgd¢¦«dS)z% Set AccelerateWP free suite zFAccelerateWP setup upon new server is skipped: Ubuntu is not supportedNzMAccelerateWP setup upon new server is skipped: Control Panel is not supportedz7AccelerateWP configuration upon new server setup failedzETurning off notifications and automatic WordPress plugin installation)ú/usr/bin/cloudlinux-awp-adminz set-optionsz--smart-advice-notificationsÚoffz--smart-advice-wordpress-pluginr z--smart-advice-remindersr ) rÚloggingÚwarningrrÚWPOSrÚ ExceptionÚ exceptionÚinfor©óúpy/clconfigure/awp.pyÚenable_accelerate_wp_freersØ€õ �{„{ðÝŒÐ`ÑaÔaÐaØˆÝ %¥g¤lÑ 3Ô 3ðÝŒÐgÑhÔhÐh؈ðUÝÑ!Ô!Ð!Ð!øÝ ðUðUðUÝÔÐSÑTÔTÐTÐTÐTðUøøøõ „LÐXÑYÔYÐYÝð ,ð ,ð ,ñ-ô-ð-ð-ð-sÁA$Á$BÂBz7Changing Accelerate WP suite {suite} status to {status}ÚsuiteÚstatuscóh—|tkrtddd|dg¦«dStd|›�¦«‚)z2 Set AccelerateWP suite to desired state. r z set-suitez--suitesz--allowed-for-allz!Currently not implemented status N)ÚSTATUS_ALLOWED_FOR_ALLrÚNotImplementedError)rrs rÚset_suite_statusr,sH€ð Õ'Ò'Ð'Ý Ð ,¨k¸:ÀuÐNaÐ bÑcÔcÐcÐcÐcå!Ð"NÀfÐ"NÐ"NÑOÔOÐOr)rÚ clconfigurerrÚclcommon.clwpos_librÚclcommon.constrÚclcommon.cpapirÚclcommon.utilsrrÚSUITE_AWP_FREErÚstrrrrrúr%sïðð€€€Ø!Ð!Ð!Ð!Ð!Ð!Ð!Ð!à7Ð7Ð7Ð7Ð7Ð7Ø"Ð"Ð"Ð"Ð"Ð"Ø5Ð5Ð5Ð5Ð5Ð5Ø$Ð$Ð$Ð$Ð$Ð$à*ÐØ €ð€ÐÑÔð-ð-ñ Ôð-ð0€Ð?Ñ@Ô@ðP˜CðP¨ðPðPðPñAÔ@ðPðPðPr