Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/services.cpython-36.pyc
3

\��h��@sVddlmZmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin�	PluginOptc@s0eZdZdZdZdZedddd�gZd	d
�ZdS)
�ServiceszSystem servicesZservices�system�boot�
servicestatusFz&collect status of all running services)�defaultZdesccCs<|jdddg�|jd�r$|jd�|jd�|jd�dS)Nz/etc/inittabz	/etc/rc.dz
/etc/rc.localr
zservice --status-allz/sbin/runlevelz/var/lock/subsys)�
add_copy_specZ
get_option�add_cmd_outputZadd_dir_listing)�self�r�/usr/lib/python3.6/services.py�setups


zServices.setupN)rr	)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrZoption_listrrrrrr
s
rcseZdZ�fdd�Z�ZS)�RedHatServicescst�j�|jdddd�dS)Nzchkconfig --listZ	chkconfig)Zroot_symlinkZtags)�superrr
)r)�	__class__rrr(s
zRedHatServices.setup)rrrr�
__classcell__rr)rrr&srcseZdZ�fdd�Z�ZS)�DebianServicescst�j�|jd�dS)Nz
/etc/rc*.d)rrr)r)rrrr0s
zDebianServices.setup)rrrrrrr)rrr.srN)	Zsos.report.pluginsrrrrrrrrrrrr�<module>	s