§
£ûj ã ój — d dl mZ d dl mZ d dl mZ d dlmZ d dlmZ d dlm Z G d„ de¦ « Z
d S )
é )Úprint_function)Údivision)Úabsolute_import)ÚBaseApplicationsManager)ÚNodeManager)Ú
APP_CONFIGc óT ‡ — e Zd ZdZdZdZdZˆ fd„Zeffˆ fd„ Z e
d„ ¦ « Zˆ xZS )ÚApplicationsManagerz.cl.selector/node-selector.jsonÚnodejsÚnodevenvÚnodec óp •— t t | ¦ « t ¦ « ¦ « d S )N)Úsuperr
Ú__init__r )ÚselfÚ __class__s €ú[/opt/cloudlinux/venv/lib64/python3.11/site-packages/clselect/clselectnodejs/apps_manager.pyr zApplicationsManager.__init__ s, ø€ Ý
Õ! 4Ñ(Ô(×1Ò1µ+±-´-Ñ@Ô@Ð@Ð@Ð@ó c óZ •— t t | ¦ « |||¬¦ « S )N)Úpatterns)r r
Ú_find_config_files)r Ú user_nameÚ
app_directoryr r s €r r z&ApplicationsManager._find_config_files s* ø€ åÕ(¨$Ñ/Ô/×BÒBÀ9ÈmÐfnÐBÑoÔoÐor c óh — d | ¦ « dd |d ¦ « g}|S )zÔ
Return lines for htaccess that are specific to the nodejs interpreter
:param binary_path: path to the environment's node binary
:param app_config: application's config dictionary
zPassengerNodejs "{}"
zPassengerAppType node
zPassengerStartupFile {}
Ústartup_file)Úformat)Úbinary_pathÚ
app_configÚspecific_liness r Ú(get_interpreter_specific_passenger_linesz