EVOLUTION-MANAGER
Edit File: nginx.cpython-36.opt-1.pyc
3 �f! � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ s4 e Zd ZdZdZdZdZedddd�gZdd � Z d S ) �Nginxznginx http daemon�nginx� webserver�logFzcollect all nginx logs)�defaultZdescc C s^ | j ddg� | jdddg� dddg}| jd d � |D �� | jd�sP| jd�rZ| jd � d S )Nznginx -Vznginx -Tz/etc/nginx/*z/var/log/nginx/access.logz/var/log/nginx/error.logZautomationcontrollerZ automationhubZautomationedacontrollerc S s g | ]}d |� d��qS )z/var/log/nginx/�*� )�.0Zaltr r �/usr/lib/python3.6/nginx.py� <listcomp>- s zNginx.setup.<locals>.<listcomp>r Zall_logsz/var/log/nginx/*)Zadd_cmd_outputZ add_copy_specZadd_forbidden_pathZ get_option)�selfZaltconfr r r �setup s zNginx.setupN)r )r ) �__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesZpackagesr Zoption_listr r r r r r s r N)Zsos.report.pluginsr r r r r r r r �<module> s